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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...