All Apps and Add-ons

where is state.xml on version 3 of db connect

vincenp2
New Member

I have been using splunk db connect version 1 and I am now looking to build new servers with db connect version 3.11
the current setup I have utilises the state.xml file held in
/opt/splunk/var/lib/splunk/persistentstorage/dbx/xyzabc123defghi/state.xml
where xyzabc123defghi = hashed 32-digit directory name relating to the database monitored

After building db connect v3.11 on a new server and connecting to a database, I am unable to find the equivalent of the state.xml file that I need

can anyone advise if state.xml for the database connection still exists in version 3.11 or what it's equivalent is please?

Thank you

Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

DBX 3 does not use state.xml files. Checkpoint information is stored in $SPLUNK_HOME/var/lib/splunk/modinputs/server/splunk_app_db_connect.

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

View solution in original post

msellery1619
New Member

Does this new Checkpoint File get rotated or does it just keep growing to infinity?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

DBX 3 does not use state.xml files. Checkpoint information is stored in $SPLUNK_HOME/var/lib/splunk/modinputs/server/splunk_app_db_connect.

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

vincenp2
New Member

thanks for replying much appreciated

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...