<p dir="ltr">Earlier you could use the backtick env variable format.</p>
<p dir="ltr">This one is substituted at config parsing.</p>
<div class="gmail_quote">On Sep 18, 2014 5:26 PM, &quot;Fabien Wernli&quot; &lt;<a href="mailto:wernli@in2p3.fr">wernli@in2p3.fr</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jim,<br>
<br>
As of version 3.5 you can use the `env` template function:<br>
<br>
template(&quot;&lt;$PRI&gt; $DATE $HOST $MSG $(env &lt;environment-variable&gt;) \n&quot;) template_escape(no));<br>
<br>
Cheers<br>
<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>