Hello,
I have been asked to monitor our HTTP Event Forwarder. Is there a Health Check in Splunk that would tell me the Forwarder status? Or is there another way I could view if the Event Forwarder is down without going into Splunk Enterprise? Perhaps a URL that would simply give me an HTTP Status code or something.
Thanks,
Tom
I never used it myself but I suppose you can query server/health* endpoints on your HF. This might give you what you need. For a health status of a specific hec input you may try services/collector/health endpoint.
Full reference of REST endpoints: https://docs.splunk.com/Documentation/Splunk/8.2.2/RESTREF/RESTlist
Depends on what kind of check you want to have.
You can, for example:
So you see - there are many aspects to monitoring. First three checks give you some form of "technical" monitoring. The fourth and fifth ones monitor whole process (or at least part of it if you chose to push the event off the splunk environment in the end).
Thanks PickleRick, (Great Name, Great Show). I am wanting to utilize the Splunk API to verify that the Forwarder Health is Ok, That the Forwarder is up. But, I'm having a hard time finding an API that contains the Forwarder. Is there an API for the Forwarder that would give green/yellow/red statuses?
Thanks,
Tom
I never used it myself but I suppose you can query server/health* endpoints on your HF. This might give you what you need. For a health status of a specific hec input you may try services/collector/health endpoint.
Full reference of REST endpoints: https://docs.splunk.com/Documentation/Splunk/8.2.2/RESTREF/RESTlist