Skip to content

Journald input is not compatible with Journald < v242 #48152

@belimawr

Description

@belimawr

#47324 started using the argument --boot all when calling journalctl to solve #46933, however the support for the keyword all was introduced in Systemd v424 (see docs)

Some Linux distributions that we still support use an older version of journalctl, making the latest versions of Filebeat incapable of running the Journald input.

SUSE Linux Enterprise Server 12 SP5 is one of them (based on our tests). However it has reached end of general support on 31 Oct 2024, long term service pack support runs until 31 Oct 2027 with the core support extending even further, until October 2030.

Filebeat will fail to start journalctl with log messages like those:

{
  "@timestamp": "2025-12-10T11:12:13.138+0000",
  "ecs.version": "1.6.0",
  "input_source": "LOCAL_SYSTEM_JOURNAL",
  "log.level": "error",
  "log.logger": "input.journald.reader.journalctl-runner",
  "log.origin": {
    "file.line": 154,
    "file.name": "journalctl/journalctl.go",
    "function": "github.com/elastic/beats/v7/filebeat/input/journald/pkg/journalctl.Factory.func3"
  },
  "message": "journalctl exited with an error, exit code 1",
  "path": "LOCAL_SYSTEM_JOURNAL",
  "service.name": "filebeat"
}

The current workaround is to downgrade Filebeat to a version that does not contain #47324, like v8.19.6, v9.1.6 or v9.2.0.

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