Hey!
That worked!
/var/log/logstash/* {
daily
rotate 7
copytruncate
compress
delaycompress
missingok
notifempty
size 100M
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/logstash.pid 2>/dev/null` 2> /de
Hey guys,
I'm trying to rotate a logstash log that can grow pretty large. 3.4GB last
I saw!
And that's because the logrotate script I came up with didn't work.
The error I get on a syntax check is this:
#logrotate -f logstash
size: '100M': No such file
size: '100M': No such file
size: '100M'
2 matches
Mail list logo