You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Splunk HEC metrics accepts metrics when `"event": ""`. This aligns with
Splunk HEC behavior
<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes
[38464](#38464)
<!--Describe what testing was performed and which tests were added.-->
#### Testing
Unit tests
<!--Describe the documentation added.-->
#### Documentation
<!--Please delete paragraphs that you did not use before submitting.-->
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 optionalSteps to Reproduce
event
field at allExpected Result
Actual Result
Collector version
latest
Environment information
N/A
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: