All Apps and Add-ons

Splunk DB Connect 2: Is there a way to get just new rows, not every row in the table each time I connect to a database?

adacpt
Explorer

When connecting to a database using Splunk DB Connect 2, is there a way just to get new rows? Otherwise, I get every row in the table each time I connect.

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Turn on the "Follow tail" option in your DB Connect 2 input. You will need to designate a column to be the "rising_column" for that query. This column's value is always increasing and is used by DB Connect to pick up where it left off. Timestamps are often good rising_column candidates.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Turn on the "Follow tail" option in your DB Connect 2 input. You will need to designate a column to be the "rising_column" for that query. This column's value is always increasing and is used by DB Connect to pick up where it left off. Timestamps are often good rising_column candidates.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...