rsyslog/rsyslog-collector

Built on the standard image, rsyslog-collector adds modules for centralised log aggregation. It exposes TCP and UDP syslog ports and can forward data to storage backends.

Environment Variables

Runtime behaviour can be tuned with the following variables:

ENABLE_UDP

Enable UDP syslog reception. Default on.

ENABLE_TCP

Enable TCP syslog reception. Default on.

WRITE_ALL_FILE

Write all messages to /var/log/all.log. Default on.

WRITE_JSON_FILE

Write JSON formatted messages to /var/log/all-json.log. Default on.

RSYSLOG_HOSTNAME

Hostname used inside rsyslog. Defaults to the value of /etc/hostname when unset.

PERMIT_UNCLEAN_START

Skip configuration validation when set. By default rsyslogd -N1 validates the configuration.

RSYSLOG_ROLE

Role name consumed by the entrypoint. Defaults to collector.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.