Skip to content

sdjournal: please add support for journal namespaces #413

@klaernie

Description

@klaernie

I am using sdjournal indirectly with the filebeat journald input, and was wondering if reading from a non-default journald namespace is supported directly. I know that I can point filebeat to the namespace's systemd.journal file residing in /var/lib/journal/machine-id.namespace, but this requires knowledge of the machine-id for each individual server.
I solved the problem for our system by symlinking the machine-id.namespace directory to a machine-independent path, but this still feels hacked together.

Looking at the code it doesn't seem like, so I just wanted to confirm.

Thanks a lot and all the best!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions