Skip to content

journald receiver body handling (map) vs other receivers (str) #38217

Open
@Simoliv

Description

@Simoliv

Component(s)

receiver/journald

Describe the issue you're reporting

Hi there, we are using the journald receiver and also get logs shipped from other receivers f.e. via otlp.
As far as I see, the journaldreceiver uses the body field as a map while other receivers use it as strings which inevitably leads to issues in Elastic, where we ship the logs to.

What is the plan for this situation or is it just not possible to use journaldreceiver in combination with other receivers ?

https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-body tells me, body can be structured data or a string, but how should this work at the same time ?

I already tried to transform the journald body["MESSAGE"] back into just body or vice versa, the string fields into some structured data body -> body["MESSAGE"], but his cannot be the idea, huh ?

I appreciate any hints or ideas. best regards

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