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

Jakub Jankowski shasta at toxcorp.com
Fri Feb 14 14:40:54 CET 2014


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


More information about the syslog-ng mailing list