Created
September 19, 2016 13:04
-
-
Save kidmose/6d681242db8b156d9fd12fa9e8cb175d to your computer and use it in GitHub Desktop.
This file contains 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
/var/log/suricata/eve.json { | |
rotate 10 | |
size 100M | |
nocompress | |
missingok | |
create | |
sharedscripts | |
postrotate | |
/bin/kill -HUP $(cat /var/run/suricata.pid) | |
endscript | |
} | |
# Rotate suricata logs with logrotate on linux | |
# Save to /etc/logrotate.d/suricata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment