Getting Data In

Forward to third-party API via POST

vstariradev
Explorer

The target API expects entries to come via a specific URL endpoint and works with json files.
I managed to create an entry in the system with curl but I need Splunk to index and then forward entries in json format.

curl -X POST -H "Accept: application/json" -u "username:password" https://ENDPOINT_HOST:8081/loggingservice/security-events -d @entry.json
0 Karma

jawaharas
Motivator

I am looking for the same solution. May be a custom command using Python script will help.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...