Exclude does not work
Hi, I have logs which look like that:
Oct 27 16:00:53 hostname postfix/smtpd[55935]: connect from .............
So i've set an exclude like this:
"exclude" : { "CMD": ["\/hostname\/"] }
But Logs with this hostname are still shown in the webinterface, what am I doing wrong? I tried CMD and Log as exclude type
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by potsky on 27 Oct, 2017 03:00 PM
You try to exclude /hostname/ ;-)
Just set ‘ hostname ‘ in the array, remove slashes and backslashes and replace by a single space before and after.
2 Posted by Lucas on 30 Oct, 2017 08:38 AM
Nah, the trick was to do it like this:
"exclude" : { "Source": ["\/hostname\/"] }
Because I've set it to "Source" in my config (in the match part)
Support Staff 3 Posted by potsky on 30 Oct, 2017 09:17 AM
Yeah ! You are right !
potsky closed this discussion on 30 Oct, 2017 09:17 AM.