Splunk Enterprise

Is there a Health Check for external HTTP Event Forwarder?

mninansplunk
Path Finder

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

Labels (3)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

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

View solution in original post

PickleRick
SplunkTrust
SplunkTrust

Depends on what kind of check you want to have.

You can, for example:

  • Check for an open port
  • Check for valid TLS certificate and possibly TLS authentication (if you're using it)
  • Check for error response if you supply a wrongly composed HEC request (to a non-existant endpoint or posting badly-formed data)
  • Post an event and check if it's getting indexed properly (this one of course needs an access to search-head). Alternatively you could configure your splunk to just route the event somewhere "to the outside" instead of indexing it so you could monitor the receiving party for the event.
  • Post an event and do a scheduled search which will report if the event has been indexed (this one doesn't require direct access to the splunk console/API for the monitoring purposes but you have to be able to receive output from the report via means of email or some custom alertaction.

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).

0 Karma

mninansplunk
Path Finder

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

0 Karma

PickleRick
SplunkTrust
SplunkTrust

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

Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...