Skip to content

Journald documentation and implementation diverge about the translation of _HOSTNAME to ECS #41635

Open
@belimawr

Description

The current implementation from Journald input translates _HOSTNAME to host.hostname: https://github.com/elastic/beats/blob/367d94e1dc40a82713d651735eac7921bb584474/filebeat/input/journald/pkg/journalfield/default.go#L57C3-L57C12

However our documentation states that _HOSTNAME is translated to host.name.

We need to make our documentation and implementation match as well as clarify the difference between those two fields.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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