All Apps and Add-ons

Splunk real-time data input from a HTML page?

tamduong16
Contributor

I've been trying to look for a way to for Splunk to input real-time data. Can Splunk do an http get request to a site every 15 minutes or so to get data from html page? For testing purposes, we could use google.com be the page that i want to grab the information from, and I want to set up Splunk to grab whatever in that html page and input it into the data. Is this possible? If yes, any ideas how I could do this?
Thank you!

0 Karma
1 Solution

Damien_Dallimor
Ultra Champion

This app : https://splunkbase.splunk.com/app/1546/

And set the polling interval to 15.

You might also want to plug in a custom response handler so you only index the parts of the http response data that you are interested in.

alt text

View solution in original post

lfedak_splunk
Splunk Employee
Splunk Employee

Hey @tamduong16, if @damien solved your problem, please don't forget to accept an answer! You can upvote posts as well. (Karma points will be awarded for either action.) Happy Splunking!

0 Karma

Damien_Dallimor
Ultra Champion

This app : https://splunkbase.splunk.com/app/1546/

And set the polling interval to 15.

You might also want to plug in a custom response handler so you only index the parts of the http response data that you are interested in.

alt text

tamduong16
Contributor

Hi Damien, Thanks for your response. I was able to set that interval to 15 min but for some reason it doesn't pull data in. I do a search with the specified index that I set it to but it showed 0 event. Did I do something wrong here?

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

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