[syslog-ng] Injecting environment variables?
Balazs Scheidler
bazsi77 at gmail.com
Sat Sep 20 07:46:54 CEST 2014
Earlier you could use the backtick env variable format.
This one is substituted at config parsing.
On Sep 18, 2014 5:26 PM, "Fabien Wernli" <wernli at in2p3.fr> wrote:
> Hi Jim,
>
> As of version 3.5 you can use the `env` template function:
>
> template("<$PRI> $DATE $HOST $MSG $(env <environment-variable>) \n")
> template_escape(no));
>
> Cheers
>
>
> ______________________________________________________________________________
> 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/20140920/c41f4430/attachment.htm
More information about the syslog-ng
mailing list