14 Feb
2014
14 Feb
'14
1:40 p.m.
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@toxcorp.com|http://toxcorp.com/ GPG: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D