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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...