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!

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...