Splunk integration error

Hi there,

I was curious to try out the Splunk integration and managed to get a Windows-based Splunk Enterprise server up and running and pointed HA from inside my VM to it.

Since then, I’ve been receiving this error in HA and no logs in Splunk:

2020-12-09 19:02:42 ERROR (MainThread) [homeassistant.components.splunk] Attempt to decode JSON with unexpected mimetype: text/html

Any idea what might be the cause? I used the native integration + this app: https://github.com/XtremeOwnage/splunk-homeassistant

Thanks in advance for any help!

Hi,
I was getting this when I had pointed Home Assistant to Splunks web management port instead of the HTTP Event Collector port (defaults to 8088 in my deployment).

Also, check here for steps on how to setup the Splunk HTTP Event Collector.
Set up and use HTTP Event Collector in Splunk Web - Splunk Documentation

1 Like

Interesting, thanks for the info!