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!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...