syslog-ng-users March 2012 archive
Main Archive Page > Month Archives  > syslog-ng-users archives
syslog-ng-users: Re: [syslog-ng] Excluding the local host

Re: [syslog-ng] Excluding the local host

From: Gergely Nagy <algernon_at_nospam>
Date: Wed Mar 07 2012 - 14:52:16 GMT
To: cdukes@cdukes.com

Clayton Dukes <cdukes@gmail.com> writes:

> Hey all,
> Seems like it would be simple to exclude the local host, but I can't find
> anything in the docs.
> What is the best way to do this?

I suppose the easiest would be to not include the local source in the
logpath.

That is, if you have a source s_local { unix-dgram("/dev/log"); }, then
don't put that in the logpath where you don't want local logs.

If that's not an option, then you can tag the s_local messages with a
tag, and filter on that, perhaps.

-- |8] ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq