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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...