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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...