All Apps and Add-ons

Monitoring URL Content

justindett
Path Finder

Hi,

Is it possible to monitor a line of text from a url? Monitoring the url is fine using the Website Monitoring App, but we would like to go a level deeper and monitor if any of the text changes.
The output is as follows :
{"csp configuration file":"1.03","icc version":"8.8.1 build 1860 patch 0","icc host":"servername","plans running":6,"plans":6}

Basically the numbers at the end need to remain constant, if they differ, we need an alert raised.

Thanks

Tags (2)
0 Karma

jwiedow
Communicator

@justindett, there is an option when you create an input for Website Monitoring that may help you with what you are trying to do.

Use the 'Include Raw Output' checkbox under the Timeout field. This will capture the raw output from your check into a new event with the sourcetype of webping:response. You can then use a search to check the value of plans running against plans.

index=website_monitoring sourcetype=webping:response source=webping://something 'plans running'<plans

You can use the output from this search to create an alert.

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...