Getting Data In

Does the HTTP Event Collector API support events with arbitrary metadata? (2019 edition)

olivercole
New Member

3 years ago, someone asked my exact question:

"Does the HTTP Event Collector API support events with arbitrary metadata?" (can't add a link, no karma)

In short, POSTing {"event": "hello world", "foo": "bar"} results in {"text":"No data","code":5}.

Has the answer changed significantly in the intervening time? If so, in which version, and is there any documentation?

I'm using logstash 5.6 as a client.

0 Karma

starcher
Influencer

What is it you are trying to solve? Because it depends what you mean by metadata and if you can control the HEC payload.

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...