Getting Data In

URL Monitoring without any app

Ravi_c
New Member

HI,

We have an website, which is hosted on IIS 7 Server, We need to monitore the URL which is poinintng to that webserver for every 5 Mins.

Without any splunk App, can I setup the alert to check for every 5 mins for URL status.
IF the status is other than 200 then we have to raise an alert.

Please let me know how I can achive this.

Please Help.

Tags (3)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Write a script that checks the URL and writes an "OK" or "Error" message as its output. Create a scripted input that invokes your script at the desired interval. This will index the script's output. Then you'll need to set up a scheduled search that looks for the script's "Error" message and generates an alert.

---
If this reply helps you, an upvote would be appreciated.
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!