Hello,

I've started exploring rsyslog 3.20.2

As I have been toying around and looking at the example configurations, I
have not been able to solve the following problem:

how can I use a property filter to select an output file AND format the
output using a defined template

For instance:

$template testtemplate,"%msg%"

:syslogtag, contains, "test" /tmp/test.log;testtemplate

Doesn't seem to be a supported syntax (it works when I leave off the
;testtemplate).

I'm sorry if this is obvious, but how can I filter based on properties AND
specify output formatting at the same time?

Thanks,
Pieter





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

Reply via email to