<p dir="ltr">Yup, it should work just as Jakub explained.</p>
<div class="gmail_quote">On Feb 14, 2014 2:41 PM, &quot;Jakub Jankowski&quot; &lt;<a href="mailto:shasta@toxcorp.com">shasta@toxcorp.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 14.02.2014 02:55, Scot wrote:<br>
&gt; Is there a trick to get stats on destinations with macros ?<br>
&gt;<br>
&gt; I get stats on my FIFO, local, net work destinations but not on the destinations with macros.<br>
<br>
What do you mean by &#39;destinations with macros&#39;? Does local file()<br>
destination (with macros) count? Then it works for me (on 3.5.3):<br>
<br>
# syslog-ng-ctl stats | grep d_net_test<br>
destination;d_net_test;;a;processed;888891<br>
# grep &#39;destination d_net_test&#39; /etc/syslog-ng/syslog-ng.conf<br>
destination d_net_test { file(&quot;/var/log/$HOST/$R_YEAR-$R_MONTH.log&quot;); };<br>
#<br>
<br>
<br>
Regards,<br>
<br>
--<br>
Jakub Jankowski|<a href="mailto:shasta@toxcorp.com">shasta@toxcorp.com</a>|<a href="http://toxcorp.com/" target="_blank">http://toxcorp.com/</a><br>
GPG: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>