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!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...