journalwatch config

This commit is contained in:
Daniel Langbein 2024-12-08 10:22:09 +01:00
parent 9d5337012d
commit ddcf2e50fc
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -813,9 +813,11 @@ in
# _SYSTEMD_UNIT = sshd.service
# However, sometimes the _SYSTEMD_UNIT field is missing
# SYSLOG_IDENTIFIER = sshd
# Sometimes (TODO maybe always since NixOS 24.11 ?)
# SYSLOG_IDENTIFIER = sshd-session
{
filters = sshd_filter;
match = "SYSLOG_IDENTIFIER = sshd";
match = "SYSLOG_IDENTIFIER = /(sshd|sshd-session)/";
}
{