[syslog-ng] Destination regex question
Nate Campi
nate at campin.net
Wed Oct 18 21:38:50 CEST 2006
On Wed, Oct 18, 2006 at 09:44:08AM -0400, James Whitt wrote:
> I was hoping there woud be a way to just combine them all
> together. Something like:
>
> destination firewall {
> host(.firewall.(.+)$);
> file("/logs/$1/firewall/$HOST/$R_YEAR-$R_MONTH-$R_DAY.log");
> };
> filter firewall { host(.firewall.); };
> log { source(external); filter(firewall); destination(firewall); };
>
> I know the regex syntax might be different, but was curious if this kind of
> situation is possible.
You can in the new branch.
http://marc.theaimsgroup.com/?l=syslog-ng&m=115176846212147&w=2
--
Nate
I never think of the future. It comes soon enough. - Albert Einstein
More information about the syslog-ng
mailing list