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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...