I trying to filter out audispd log from /var/log/messages, audispd by defaults sending it log using "user.info"
My current situation is that /etc/rsyslog.conf is shared within a few set of machine in the network so most of the custom configuration files are done in /etc/rsyslog.d, the problem I'm having that it seem redirecting log does work with custom configuration files, example my if /etc/rsyslog.d/user.conf have this
user.info /var/auditd/audispd.log
& ~
It will work just fine, but for filtering such as example below will not take any effect even thought the same syntax will definitely work if I put in the main configuration files which I'm trying to avoid here:
user.!=info /var/log/messages
& ~
On side note server is using Rsyslog 5.8.10
PS: Sorry for my bad English as it is not my main language :)
Thanks
Regards
Z