mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2026-07-13 20:37:40 +00:00
crowdsec: use sshd.service unit for journalctl ssh acquisition on NixOS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user