Splunk Dev

How to extract data from HTML request to import to Splunk?

dreadangel
Path Finder

Hi all,

Due to lack of production API, in order to import data to Splunk there is a need to load an HTML, parse it and upload it to Splunk.

In order to solve this task I consider using the collect function, HTML I'm going to parse as XML.

The problem I'm facing is how to make a request and return the HTML page - the rumors say that python can be used for this purpose, but I have no idea.

Could you provide some start points on the matter?

Thank you in advance.

0 Karma
1 Solution

dreadangel
Path Finder

I'll respond to myself - http://dev.splunk.com/view/custom-spl/SP-CAAAFFT - startpoint to develop custom search commands...

View solution in original post

0 Karma

dreadangel
Path Finder

I'll respond to myself - http://dev.splunk.com/view/custom-spl/SP-CAAAFFT - startpoint to develop custom search commands...

0 Karma
Get Updates on the Splunk Community!

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...