suricata.logrotate.in 310 B

1234567891011121314
  1. # Sample /etc/logrotate.d/suricata configuration file.
  2. @e_logdir@*.log @e_logdir@*.json {
  3. daily
  4. missingok
  5. rotate 5
  6. compress
  7. delaycompress
  8. minsize 500k
  9. sharedscripts
  10. postrotate
  11. /bin/kill -HUP `cat @e_rundir@suricata.pid 2> /dev/null` 2> /dev/null || true
  12. endscript
  13. }