Skip to content

Instantly share code, notes, and snippets.

@jasonish
Created January 13, 2015 16:15
Show Gist options
  • Save jasonish/8976189e91947246f53a to your computer and use it in GitHub Desktop.
Save jasonish/8976189e91947246f53a to your computer and use it in GitHub Desktop.
Current logrotate configuration for Suricata.
/var/log/suricata/*.log /var/log/suricata/*.json
{
rotate 3
daily
missingok
nocompress
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/suricata-internal.pid` || true
endscript
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment