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, Karma would be appreciated.
Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...