We have HTTP address (http://webapplication/webcontext/health.jsp) to check application health.
How do we create a Splunk dashboard to monitor the above http address instead of hitting the address on a browser every time?
Hi ramuvalivarthi,
there is an App which does exactly what you want, check it out here https://splunkbase.splunk.com/app/1493/
cheers, MuS
Hello,
You can use Splunk's REST interface. Here is one which does not require authentication of course this assume default ports.
curl -k https://localhost:8089/services/server/info
Other if you want to authenticate are
server/status
server/introspection
http://docs.splunk.com/Documentation/Splunk/6.2.6/RESTREF/RESTlist
Depending on your appliance of device you would just have it search for some text in response.
Hmm, I think the question was more related to monitor a remote web page within Splunk not to monitor Splunk. There used to be a pinger and web mon app which do exactly this.....
I think you need a Scripted Input
that uses curl
(or similar) that hits that website periodically (every 10 minutes?) and then send that to Splunk.