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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...