mirror of https://github.com/OISF/suricata
Sample logrotate configuration file.
Create a sample logrotate configuration file with filenames set for the configuration.pull/2854/head
parent
dbd2d7c058
commit
ddf6bce5d8
@ -0,0 +1 @@
|
|||||||
|
EXTRA_DIST = suricata.logrotate.in
|
@ -0,0 +1,13 @@
|
|||||||
|
# Sample /etc/logrotate.d/suricata configuration file.
|
||||||
|
@e_logdir@*.log @e_logdir@*.json {
|
||||||
|
daily
|
||||||
|
missingok
|
||||||
|
rotate 5
|
||||||
|
compress
|
||||||
|
delaycompress
|
||||||
|
minsize 500k
|
||||||
|
sharedscripts
|
||||||
|
postrotate
|
||||||
|
/bin/kill -HUP `cat @e_rundir@suricata.pid 2> /dev/null` 2> /dev/null || true
|
||||||
|
endscript
|
||||||
|
}
|
Loading…
Reference in New Issue