we would like Load balancer to check Splunk search head health before redirecting.
Could you please share the URL that be configured on load balancer?
looking at using /debug/echo?ping=OK and parsing for the OK, but that is less than optimal as debug has to be set in web.conf Please suggest an alternative.
we are using this with LB:s (e.g. F5 or AWS ALB).
It don't need authentication and it tells if splunk's web interface is up and accepting requests.
View solution in original post
You can use the Health Check API for this. You should be able to check this endpoint :
Here's some more information on this : https://docs.splunk.com/Documentation/Splunk/8.0.4/DMC/Usefeaturemonitoring