Skip to content

Double encoding of JSON responses #27604

Closed
@atoulme

Description

@atoulme

Component(s)

receiver/splunkhec

What happened?

Description

Steps to Reproduce

  • Run the collector with splunkhecreceiver
  • Send malformed data

Expected Result

The result should be a JSON object that exposes the error message related to the handling of the data.

Actual Result

The result is a JSON string representation of the JSON object.

Collector version

0.87.0

Environment information

No response

OpenTelemetry Collector configuration

No response

Log output

No response

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