syslog-ng.conf configuration for log files every 15 minutes
Hi, Currently, I have used the syslog-ng.conf to setup hourly files using the following config - destination d_clicks {file("/var/log/local-pid$PID-click-$YEAR-$MONTH-$DAY-$HOUR.log");}; Is there a way I could get files every 15 minutes? Best, Akshay
Sure with template functions: $(/ $MIN 4) Untested though, iirc the name of the division template function is a slash "/". On Apr 28, 2015 12:29, "Akshay Surve" <akshay.surve@gmail.com> wrote:
Hi,
Currently, I have used the syslog-ng.conf to setup hourly files using the following config -
destination d_clicks {file("/var/log/local-pid$PID-click-$YEAR-$MONTH-$DAY-$HOUR.log");};
Is there a way I could get files every 15 minutes?
Best, Akshay
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
participants (2)
-
Akshay Surve
-
Scheidler, Balázs