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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...