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!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...