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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...