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!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...