[syslog-ng] syslog-ng Digest, Vol 113, Issue 9

jetjnkr at gmail.com jetjnkr at gmail.com
Sat Sep 20 16:56:13 CEST 2014


Hi Famien,

Thanks - just need to get the Ops team to push out 3.5 and I'll give it a shot!

Jim.


On Sep 19, 2014, at 2:46 AM, syslog-ng-request at lists.balabit.hu wrote:

> 
> Date: Thu, 18 Sep 2014 17:26:33 +0200
> From: Fabien Wernli <wernli at in2p3.fr>
> Subject: Re: [syslog-ng] Injecting environment variables?
> To: "Syslog-ng users' and developers' mailing list"
> 	<syslog-ng at lists.balabit.hu>
> Message-ID: <20140918152633.GC6867 at ccfawe.in2p3.fr>
> Content-Type: text/plain; charset=us-ascii
> 
> 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