All Apps and Add-ons

How to debug Splunk DB Connect 2?

wegscd
Contributor

I am getting some inputs converted from Splunk DB Connect 1 to Splunk DB Connect 2.

I have a tail rising column query (using a timestamp field in the database) that I got into V2 and got it working. I did some refinements, but now no more data is showing up in the index.

I can see the query running in rpc.log, though I have no idea of how many rows are getting returned. The tail_rising_column_checkpoint_value is such that I would be expecting more data.

Is there some logging I can crank up on the Splunk end to determine if the data is getting returned from the query and lost on the way to the index, or if the query is not returning any rows???

0 Karma
1 Solution

woodcock
Esteemed Legend

There is a dbx2.log in the $SPLUNK_HOME/var/log*/ directory on the server where you are running the app. Tjis log is not forwarded so you have to go CLI.

0 Karma

wegscd
Contributor

dbx2.log has even less information in it than rpc.log. Just shows database errors and websocket timeouts.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Classic British Rock Bands

This puzzle series (first published here) is based on extracting information from statements about well-known ...

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...