Closed
Description
Component(s)
receiver/splunkhec
What happened?
Description
Currently, there is inconsistent behavior between splunkhecreceiver vs splunk enterprise/cloud on metrics ingestion support. Ideally, hecreceiver should align with splunk enterprise/cloud.
The current documentation says Metrics data, which requires an event field set to metric.
, but this is not accurate and we are working with splunk doc team to update this.
The event
field can be optional
Steps to Reproduce
- create a metric event
- do not set
event
field at all - send to splunkhecreceiver
Expected Result
- data is accepted
Actual Result
- data is rejected with 400
Collector version
latest
Environment information
N/A
OpenTelemetry Collector configuration
Log output
Additional context
No response