Getting Data In

How to POST data to specific Splunk index via REST API

vinayak909_2
New Member

My Python script generate some results (Success/Failure output for certain services) which I want to send to a specific Splunk index using REST API.

Since I have never done this before, I would like to know what are the prerequisites to do this. Also, if you could provide an example of a simple POST to Splunk index, that would be great.

Tags (1)
0 Karma
1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

vinayak909_2
New Member

Thank you Kamlesh. The info in these links definitely helped to achieve what I am intended to.

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 ...