[syslog-ng] Injecting environment variables?

Fabien Wernli wernli at in2p3.fr
Thu Sep 18 17:26:33 CEST 2014


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



More information about the syslog-ng mailing list