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
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

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

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...