[syslog-ng] rotating log files on every 5 minutes

Omer Faruk SEN omerfsen at gmail.com
Tue Jun 21 13:43:18 CEST 2011


Hi

Is it possible to rotate logs for every 5 minutes

For example instead of using

${HOST}_${R_YEAR}${R_MONTH}${R_DAY}${R_HOUR}${R_MIN}.log I want to use
${HOST}_${R_YEAR}${R_MONTH}${R_DAY}${R_HOUR}${R_MIN%5}.log (which rotates
every 5 minues )

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20110621/783c4319/attachment.htm 


More information about the syslog-ng mailing list