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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...