Rsyslog does ship an input module with the ability to receive container logs from Docker. Currently the module will not be build when installing Rsyslog with Portage and there is no way to include it. I've tested it locally and it should be really easy to add. It could be done with a "docker" USE flag and this line: $(use_enable docker imdocker) Would it be possible to add this plugin? Thanks allot. Reproducible: Always
Looks like the "imdocker" module does not need docker to build, let's enable it by default.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6382215fcbbb8e861da7e6da09f1a35375a57daa commit 6382215fcbbb8e861da7e6da09f1a35375a57daa Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2022-09-18 12:12:35 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2022-09-18 12:20:31 +0000 app-admin/rsyslog: enable the imdocker input module Closes: https://bugs.gentoo.org/871126 Signed-off-by: Maciej Barć <xgqt@gentoo.org> .../rsyslog/{rsyslog-8.2206.0.ebuild => rsyslog-8.2206.0-r1.ebuild} | 1 + .../rsyslog/{rsyslog-8.2208.0.ebuild => rsyslog-8.2208.0-r1.ebuild} | 1 + 2 files changed, 2 insertions(+)