Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2002 22:49:24 +0200
From:      Wim Livens <wim@livens.net>
To:        Mikel King <vizkr@netscape.net>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: syslog-ng
Message-ID:  <20020606204924.GB58553@krijt.livens.net>
In-Reply-To: <3CFFC148.7080904@netscape.net>
References:  <3CFFC148.7080904@netscape.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Op do  06 jun, 2002 om 03:08:40pm -0500, schreef Mikel King:
> Anyone have cisco routers logging to syslog-ng? trying to find a quick 
> config to capture all info from the router...

This should work: 

source net { udp(); };
options { use_dns(no);};
filter myrouter { host("1.2.3.4");};
destination myrouterlogfile { file("/var/log/syslog-from-myrouter"); };
log { source(net); filter(myrouter); destination(myrouterlogfile); };

(haven't tested it exactly)

-- 
Wim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020606204924.GB58553>