All Apps and Add-ons

dbxquery.py missing from both 3.x versions of splunk db connect

mjones414
Contributor

Trying to stand up a new heavy forwarder to remove splunk db connect from our primary search head and when I grabbed the most recent versions of the application, it does not seem to have dbxquery.py in the tarball at all. It does not appear to have been deprecated because the SQL explorer still relies on it. Please let me know what I need to do to get this back. It's core to our environment.

Tags (1)
0 Karma

kheo_splunk
Splunk Employee
Splunk Employee

dbxquery command has been rewritten in Java in Splunk DB Connect 3.x and has been included in $SPLUNK_HOME/etc/apps/splunk_app_db_connect/jars/command.jar file.

You can find the relevant information in commands.conf

DBX 2.4.x : $SPLUNK_HOME/etc/apps/splunk_app_db_connect/default/command.conf

[dbxquery]
filename = dbxquery.py
supports_getinfo = true
supports_rawargs = true
passauth = true
run_in_preview = false
local = true
generating = true
streaming = false

DBX 3.x.x : $SPLUNK_HOME/etc/apps/splunk_app_db_connect/default/command.conf

[dbxquery]
filename = java.path
chunked = true
#command.arg.1 = -Xdebug
#command.arg.2 = -Xrunjdwp:transport=dt_socket,address=192.168.33.1:9999,suspend=y
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/command.jar
command.arg.5 = com.splunk.dbx.command.DbxQueryCommand
# Keystore password
#command.arg.6 = changeme
0 Karma
Get Updates on the Splunk Community!

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 ...

Enterprise Security Content Update (ESCU) | New Releases

In April, the Splunk Threat Research Team had 2 releases of new security content via the Enterprise Security ...