[syslog-ng] Host filter not working?

Clayton Dukes cdukes at gmail.com
Tue Sep 29 20:54:08 CEST 2009


I think I'm going crazy...
Can someone tell me why this is not filtering these hosts?

filter f_not_unitylab { (
    not host ("localhost")
    or not host ("vnt-cm")
    or not host ("ecats-cu")
    );
};
# Tell syslog-ng to log to our new destination
log {
    source(s_all);
    filter(f_not_unitylab);
    destination(d_logzilla);
};

When I start syslog-ng, I'm still getting events logged to my db for
these hosts. What am I missing?


-- 
______________________________________________________________

Clayton Dukes
______________________________________________________________


More information about the syslog-ng mailing list