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