When logging into Spunk, users may encounter an error messages in the UI for the DB Connect App - "Cannot communicate with task server, please check your settings". As a result, the Splunk DB Connect App fails to initialize correctly.
Below is the SPL that can be used to check the logs:
index="_internal" sourcetype=splunkd splunk_app_db_connect log_level=ERROR host="" drivers
Below are the logs that user might see in Splunkd:
07-09-2024 01:04:13.919 +0000 ERROR ExecProcessor [4029740 ExecProcessor] - message from "/opt/splunk/etc/apps/splunk_app_db_connect/bin/server.sh" javax.servlet.ServletException: jersey==io.dropwizard.jersey.setup.JerseyServletContainer@baa68670{jsp=null,order=-1,inst=true,async=true,src=EMBEDDED:null,STARTED}
ERROR ExecProcessor [4029740 ExecProcessor] - message from "/opt/splunk/etc/apps/splunk_app_db_connect/bin/server.sh" Caused by: java.lang.IllegalArgumentException: Invalid driver folder /opt/splunk/etc/apps/splunk_app_db_connect/drivers
From the above mentioned logs, it was observed that driver directory within /opt/splunk/etc/apps/splunk_app_db_connect was not present in the backend.
To resolve this issue, it is recommended to perform the steps as highlighted below:
$SPLUNK_HOME/etc/apps/splunk_app_db_connect/Restart Splunk service.| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |