I configured Dynamic file

$template DynFile,"/test/log/%HOSTNAME%-%YEAR%-%MONTH%-%DAY%.log"
:source , !isequal , "localhost" ?DynFile

However, I get invalid property in the filename.

[root@box ~]# ls -l /test/log/
total 4
-rw------- 1 root root 146 Feb 9 23:51 10.131.47.4-**INVALID PROPERTY NAME**-**INVALID PROPERTY NAME**-**INVALID PROPERTY NAME**.log

1. Am I missing something?
2. Can I compare two different strings with !isequal?

Norman

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to