These are chat archives for mp911de/logstash-gelf

Nov 2017
Nov 01 2017 15:01
Hi, I was wondering how I can inject an environment variable within the gelf configuration for log4j2. The following doesn't work (see "com.iamfromenv"):
<Field name="environment" literal="${env:com.iamfromenv}" />
Mark Paluch
Nov 01 2017 16:37
@BenLeino I'm not too familiar with environment lookups. I think you need to use $${…}, see