How to enable systemd's journal audit transport?
Solution 1:
I would check these things:
-
The
systemd-journald-audit.socket
is configured to listen to a socket using theAF_NETLINK
protocol. Ifsystemctl status systemd-journald-audit.socket
is not active, thensystemd-journald.service
is not using it. -
Ensure
systemd-journald-audit.socket
is included inSockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
in thesystemd-journald.service
definition.If missing from your default
systemd-journald.service
, create an override at/etc/systemd/system/systemd-journald.service.d/override.conf
:# systemctl edit systemd-journald.service [Service] Sockets= Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket # systemctl restart systemd-journald.service
-
audit=0
has not been set as a kernel parameter. Check withcat /proc/cmdline
.
Verify that audit is now in your set of field type _TRANSPORT
# journalctl --field _TRANSPORT
stdout
kernel
syslog
journal
audit
driver