crowdsec: use sshd.service unit for journalctl ssh acquisition on NixOS

This commit is contained in:
2026-07-13 04:34:51 +04:00
parent b1d78905ca
commit 6d9c4e7d39
+2 -1
View File
@@ -1,5 +1,6 @@
source: journalctl
journalctl_filter:
- "_SYSTEMD_UNIT=ssh.service"
# NixOS names the OpenSSH unit "sshd.service"; Debian/Ubuntu use "ssh.service".
- "_SYSTEMD_UNIT=sshd.service"
labels:
type: syslog