Getting Data In

How to monitor http web pages and splunk the results?

Hazel
Communicator

Hello

I'm looking to set something up that calls a bunch of http webpages that run on some of our boxes that need a username & password and logs a couple of things

  • Whether the page is pingable
  • Grabs the page content and then i can parse it into Splunk

I'm not really sure where to start with this, I guess it needs some kind of script. I was just wondering if anyone had written anything similar that could help me or has any ideas that could just guide me into where to start with this?

I don't really know much perl or python but I'm getting I'll need something like this to do this?

Thanks
Hazel

Tags (1)
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi Hazel

I would do this with a script which calls 'wget' or 'lynx -d'
then you get a dump of the webpage, which could be read by splunk or if the page is down (not pingable) your script can error out something which is also read by splunk.

regards

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi Hazel

I would do this with a script which calls 'wget' or 'lynx -d'
then you get a dump of the webpage, which could be read by splunk or if the page is down (not pingable) your script can error out something which is also read by splunk.

regards

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 ...