All Apps and Add-ons

doing oneshot load of index from an external DB

ManusMenon
Explorer

Hello everyone,

I was successful in creating an index using an SQL query on an external MySQL database. But when I wanted to add one more field to this index from the DB, it would not update back data in the index with the new field. Only the data after the change have the new field.

SO I thought of deleting this index and re-creating one. But is there a one-shot load method for loading an external DB into an index?

Thanks in advance for your help.

With regards,
Manus

Tags (3)
0 Karma

pmdba
Builder

Configuring a dbmon-dump input is the right way to go. Configuration screens in the Splunk UI are sometimes incomplete or missing lesser used options, however. If you haven't done this already, you may have to edit the inputs.conf file for your app directly in order to get things working or formatted the way you want them to be.

0 Karma

ManusMenon
Explorer

Hi linu1988,
Thank you for your reply. I tried this but it is not allowing me to change that setting in the COnfig screen. All I can change is the SQL query.

0 Karma

linu1988
Champion

configure the [dbmon-dump://..] to load the whole Table at once. Then configure the DB-tail to monitor it , but you wont be able to change the events once they are indexed.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...