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.
What is it you are trying to solve? Because it depends what you mean by metadata and if you can control the HEC payload.