Getting Data In

In splunk python SDK, I don't see an option to send data to an index using HEC (HTTP Event Collector) endpoints. Is there a reason why it's not supported?

hsingams2
Explorer

The "submit" method in splunklib.client.Index class is using HTTP simple receiver REST route and not HEC routes.

1 Solution

starcher
Influencer

starcher
Influencer

You can write your own HEC method or use this one. https://github.com/georgestarcher/Splunk-Class-httpevent

Get Updates on the Splunk Community!

.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 ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...