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!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...