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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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