Skip to content

[receiver/splunkhec] Metrics ingestion behavior is not consistent with Splunk Cloud/Enterprise #38464

Closed
@splunkericl

Description

@splunkericl

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

  1. create a metric event
  2. do not set event field at all
  3. send to splunkhecreceiver

Expected Result

  1. data is accepted

Actual Result

  1. data is rejected with 400

Collector version

latest

Environment information

N/A

OpenTelemetry Collector configuration

Log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions