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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...