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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...