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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...