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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...