[Feat]: Journald support for web_log collector · Issue #22101 · netdata/netdata · GitHub
Skip to content

[Feat]: Journald support for web_log collector #22101

@luisj1983

Description

@luisj1983

Problem

Provide either documentation and or the ability for the weblog collector to collect logs from journald/systemd logs.

Description

Netdata documentation explains how to convert syslog logs such as, specifically, web server logs from a syslog implementation to one using journald/system logging:
https://learn.netdata.cloud/docs/logs/log2journal/
However, in doing so with web logs one loses the nice out of the box metrics provided by the Netdata weblog collector:
https://learn.netdata.cloud/docs/collecting-metrics/web-servers-and-proxies/web-server-log-files

N.B. I'm using the 'native' apache2 mod_journald module to output logs to journald. It is possible to output to both syslog and journald at the same time. This is a workaround but I consider it to be messy and a configuration that few would implement except as a workaround for this challenge with the Netdata weblog collector.

Importance

must have

Value proposition

  1. Given the increasing prevalence of systemd and journald it doesn't make sense to not support it as a log source.
  2. Given the focus on the Netdata AI agent it doesn't make sense to not invest in a crucially rich source of data.

Proposed implementation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions