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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...