[rsyslog] case sensitivity in templates

Rainer Gerhards rgerhards at hq.adiscon.com
Thu Sep 3 18:05:42 CEST 2009


> $template
> PerHostDebug,"/srv/rsyslog/%$YEAR%/%$MONTH%/%$DAY%/%HOSTNAME:::lowercas
> e%/debug"

Now that you say it: it would probably make sense to use one of the "secpath"
(or so) options to make this file writer more secure - see the doc you quoted
for details. It will then look something along these lines:

$template
PerHostDebug,"/srv/rsyslog/%$YEAR%/%$MONTH%/%$DAY%/%HOSTNAME:::lowercase,secp
ath-...%/debug"

> 
> Thanks again.

my pleasure :)

Rainer


More information about the rsyslog mailing list