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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...