Created
November 7, 2016 10:45
-
-
Save stlehmann/5b1eb97d2ceda2d9d5103bc8084bebd5 to your computer and use it in GitHub Desktop.
additional config file for syslog-ng. Put into /etc/syslog/conf.d/ folder.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# log alls ssh events in ssh.log | |
destination sshd { file("/var/log/ssh.log"); }; | |
filter sshd { program("ssh"); }; | |
log { source(s_src); filter(sshd); destination(sshd); flags(final); }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment