[syslog-ng] Prefiltering

Balazs Scheidler bazsi at balabit.hu
Thu Nov 12 17:21:33 CET 2009


On Thu, 2009-11-12 at 09:09 +0100, Robert Fekete wrote:
> If you are using syslog-ng 3.0, then I think embedded log statements can do the
> trick.
> 
> http://www.balabit.hu/dl/html/syslog-ng-v3.0-guide-admin-en.html/ch03s05.html#configuring_embedded_logpaths
> 
> Regards,

To be more concrete, with syslog-ng 3.0, you can do something like

log { source(s_something); filter(f_filter_all);
	log { destination(d_one); };
	log { destination(d_two); };
};

-- 
Bazsi



More information about the syslog-ng mailing list