Hi to all rsysloggers :) If I want to configure my rsyslog 6.4.1 to do something like:
if $msg contains '|\/|onster' then /var/log/monster it fails giving something like: 7434.868138334:7fbd708fd700: invalid char in expr: ' 7434.868146274:7fbd708fd700: XXXX: msg: syntax error I get the same error if I use a double-backslash there: if $msg contains '|\\/|onster' then /var/log/monster So my question is: how to escape the backslash and avoid the syntax error? Any clues will be deeply appreciated :) Thanks and best regards, Radu _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards

