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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...