Hi,
I'm trying to configure rsyslog to drop lines where the message contains a certain message.
Here are the lines from syslog that I want to filter:
Jan 18 04:04:18 SOMESEREVE su(pam_unix)[3414]: session closed for user oracle
Jan 18 04:04:19 SOMESERVER su(pam_unix)[3465]: session opened for user oracle by (uid=0)
and heres the config line from my rsyslog.conf file:
:msg,regex," session (opened|closed) for user oracle" ~
From my experience, this should be a valid regex but it doesn't match anything as far as rsyslog is concerned.
Anyone have any ideas what could be wrong?
Thanks.


