All Apps and Add-ons

Query on how splunk indexes modified tables data from database.

bharathkumarnec
Contributor

How splunk identifies if there are any tables modified in database, so that it will remove duplicates?

Tags (1)
0 Karma

dwaddle
SplunkTrust
SplunkTrust

I'm going to make some assumptions.

You're talking about indexing data from a relational database using the Splunk DB-Connect app. When data in the database table(s) are modified, there is a timestamp column that is updated to show the row(s) modified have changed.

DB Connect is able to look for rows with an "updated timestamp" that is newer than its last check, and re-index the whole row. You WILL get duplicates. If the table has a usable primary key, then you could use the splunk dedup command to remove values of the primary key fields from your search, keeping only the newest one.

Does this help?

bharathkumarnec
Contributor

Yes..Thanks for your inputs...

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 ...