[syslog-ng] syslog-ng.conf configuration for log files every 15 minutes

Scheidler, Balázs balazs.scheidler at balabit.com
Tue Apr 28 14:33:11 CEST 2015


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 at 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20150428/78237871/attachment.htm 


More information about the syslog-ng mailing list