rsyslog logs **INVALID PROPERTY NAME**$HOSTNAME**INVALID PROPERTY NAME**
Issue
I am using version 5.8.10 of the rsyslogd server provided with RHEL 6.3. I am developing a template and wanting the program to create a folder based on the senders hostname as shown below.
$template DailyPerHostLogs,"/var/log/syslog/%$HOSTNAME%/%$YEAR%/%$month%/%HOSTNAME%-%$MONTH%-%$DAY%-%$YEAR%.log"
All the folders are created but the top level folder is named INVALID PROPERTY NAME$HOSTNAMEINVALID PROPERTY NAME.
Environment
Red Hat Enterprise Linux 6.3
rsyslog
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
