[syslog-ng] Stats on destinations with macro's ?

Balazs Scheidler bazsi77 at gmail.com
Sun Feb 16 12:46:48 CET 2014


Yup, it should work just as Jakub explained.
On Feb 14, 2014 2:41 PM, "Jakub Jankowski" <shasta at toxcorp.com> wrote:

> On 14.02.2014 02:55, Scot wrote:
> > Is there a trick to get stats on destinations with macros ?
> >
> > I get stats on my FIFO, local, net work destinations but not on the
> destinations with macros.
>
> What do you mean by 'destinations with macros'? Does local file()
> destination (with macros) count? Then it works for me (on 3.5.3):
>
> # syslog-ng-ctl stats | grep d_net_test
> destination;d_net_test;;a;processed;888891
> # grep 'destination d_net_test' /etc/syslog-ng/syslog-ng.conf
> destination d_net_test { file("/var/log/$HOST/$R_YEAR-$R_MONTH.log"); };
> #
>
>
> Regards,
>
> --
> Jakub Jankowski|shasta at toxcorp.com|http://toxcorp.com/
> GPG: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D
>
> ______________________________________________________________________________
> 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/20140216/4b70dd17/attachment.htm 


More information about the syslog-ng mailing list