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

starcher
SplunkTrust
SplunkTrust

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

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...