Hi,
We have db connect connections & inputs created in Splunk HF. We see that it has status=FAILED sometimes and below is the error captured through internal DB logs.
Logs: /opt/splunk/var/log/splunk/splunk_app_db_connect_job_metrics.log
/opt/splunk/var/log/splunk/splunk_app_db_connect_server.log
Error-
ERROR org.easybatch.core.job.BatchJob - Unable to write records java.io.IOException: There are no Http Event Collectors available at this time.
Can someone help?
I don't recall ever seeing dbconnect configured so that it sends to a HEC input outside of the HF it's running on. Theoretically it's possible - see https://docs.splunk.com/Documentation/DBX/3.18.2/DeployDBX/settingsconfspec but I must say I've never seen it configured this way.
Anyway, first check your config., then debug apropriate HEC inputs.
Hi @juhiacc
The error java.io.IOException: There are no Http Event Collectors available at this time indicates that the Splunk DB Connect application, running on your Heavy Forwarder (HF), cannot successfully send data to the configured HTTP Event Collector (HEC) endpoint(s) on your Splunk indexers.
This usually stems from one of the following issues:
HEC Not Enabled or Misconfigured on Indexers:
Incorrect HEC Configuration in DB Connect:
Network Connectivity Issues:
Indexer(s) Overloaded or Unavailable:
Additional tips:
Relevant Documentation worth checking:
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
If you have trouble receiving data from DBX3, search the internal index for
xx-xx-xxxx xx:xx:xx.xxx +0000 FATAL HTTPServer - Could not bind to port 8088
you could do:
netstat -anp | grep 8088
And ensure that you see the Splunk process using the port number.
You might also see the port 8088 in your metrics.log file of your Splunk server receiving the traffic if there is data coming through...
Click Settings > Data Inputs.
Click HTTP Event Collector.
Click Global Settings.
In the All Tokens toggle button, select Enabled.
#Check if the Hec collector is healthy
curl -k -X GET -u admin:mypassword https://MY_Splunk_HEC_SERVER:8088/services/collector/health/1.0
#Check if HEC stanzas with config are configured
/opt/splunk/bin/splunk http-event-collector list -uri https://MY_Splunk_HEC_SERVER:8089
#Check the settings using btool
/opt/splunk/bin/splunk cmd btool inputs list --debug http