Skip to content

Instantly share code, notes, and snippets.

@kidmose
Created September 19, 2016 13:04
Show Gist options
  • Save kidmose/6d681242db8b156d9fd12fa9e8cb175d to your computer and use it in GitHub Desktop.
Save kidmose/6d681242db8b156d9fd12fa9e8cb175d to your computer and use it in GitHub Desktop.
/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