Recently installed Splunk DB Connect and the path to the JRE has been entered into the WebUI.
However on startup of the Heavy Forwarder it is installed on you get the following error
Checking conf files for problems...
Invalid key in stanza [java] in /opt/splunk/etc/apps/splunk_app_db_connect/local/dbx_settings.conf, line 2: javaHome (value: /usr/java/latest/jre).
Upon running btool you see:
$ splunk btool check --debug
...
Checking: /opt/splunk/etc/apps/splunk_app_db_connect/local/dbx_settings.conf
Invalid key in stanza [java] in /opt/splunk/etc/apps/splunk_app_db_connect/local/dbx_settings.conf, line 2: javaHome (value: /usr/java/latest/jre).
Did you mean 'java_home'?
Did you mean 'jvm_options'?
The contents of /opt/splunk/etc/apps/splunk_app_db_connect/local/dbx_settings.conf
[java]
javaHome = /usr/java/latest/jre
[loglevel]
connector = INFO
dbinput = INFO
dboutput = INFO
Now I now the issue is simple to correct because looking at the spec of https://docs.splunk.com/Documentation/DBX/3.1.0/DeployDBX/settingsconfspec shows it should be java_home not javaHome, but we never set javaHome the settings of DBConnect did.
We have no active support contract so can't even report this as an issue it appears.
Was wondering if everyone is running into this issue?
NOTE: No environment variable for JAVA_HOME exists.
... View more