All Apps and Add-ons

DB Connect SQL Explorer Not Working

alonsocaio
Contributor

Hi,

I am trying to run some SQL queries using SQL Explorer on DB Connect app, but It looks like the queries are not finishing. Every query I execute keeps on 20% of completion and does not load any result.

Also, all of my inputs that are configured on DB Connect app are working as expected, the issue is happening only when I try configuring new inputs or when I use the SQL Explorer tab.

I have already tried to run the queries using different users and browsers, and I have already restarted Splunk service, but the issue is still occurring.

Does anyone has ever faced some issue like this one before on Db Connect? Any tips on what can be the cause of this error?

Thanks in advance.

Labels (2)
Tags (1)
0 Karma
1 Solution

alonsocaio
Contributor

I was able to solve this issue by setting the dbxquery stanza under local/commands.conf

This stanza is commented under default/commands.conf, I had to add this to local so I could revert dbxquery to version 3.2.0

[dbxquery]
run_in_preview = false
filename = java.path
chunked = true
command.arg.1 = -Dlogback.configurationFile=../config/command_logback.xml
command.arg.2 = -DDBX_COMMAND_LOG_LEVEL=INFO
command.arg.3 = -cp
command.arg.4 = ../jars/dbxquery.jar
command.arg.5 = com.splunk.dbx.command.DbxQueryCommand

The solution was found on the following question: Splunk DB connect DBX Query error - Splunk Community

View solution in original post

0 Karma

alonsocaio
Contributor

I was able to solve this issue by setting the dbxquery stanza under local/commands.conf

This stanza is commented under default/commands.conf, I had to add this to local so I could revert dbxquery to version 3.2.0

[dbxquery]
run_in_preview = false
filename = java.path
chunked = true
command.arg.1 = -Dlogback.configurationFile=../config/command_logback.xml
command.arg.2 = -DDBX_COMMAND_LOG_LEVEL=INFO
command.arg.3 = -cp
command.arg.4 = ../jars/dbxquery.jar
command.arg.5 = com.splunk.dbx.command.DbxQueryCommand

The solution was found on the following question: Splunk DB connect DBX Query error - Splunk Community

0 Karma
Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...