All Apps and Add-ons

Splunk DB 3 connect fetching the last DB record repeatedly

swati_singh
Engager

I am connecting to MS SQL server to fetch records into Splunk using Rising column. The rising column is a datetime column. When the execution runs then SplunkDBConnect pulls all available records, so first time it runs as expected. From the second poll it starts getting the last record again and hence leading to data duplication in Splunk environment.
My query is SELECT * FROM WHERE StartTime > ? ORDER BY StartTime ASC.
The coulmn StartTime has datetime datatype.

I also see updates going to checkpoint file. I currently poll every 60 seconds.

Has anyone seen such a behavior?

Thanks,
Swati

0 Karma
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, ...