This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Description
When a user incorrectly configures their splunk hec to not have the index specified in the allowed indexes for the hec token a generic error "Error: HEC responded with status 400" is thrown.
This is difficult for the user to figure out without turning on debugging.
We should perhaps return the reason for the 400.