From owner-freebsd-isp Thu Jun 6 13:48:38 2002 Delivered-To: freebsd-isp@freebsd.org Received: from bigglesworth.mail.be.easynet.net (bigglesworth.mail.be.easynet.net [212.100.160.67]) by hub.freebsd.org (Postfix) with ESMTP id A667F37B403 for ; Thu, 6 Jun 2002 13:48:32 -0700 (PDT) Received: from 213-193-182-14.adsl.easynet.be ([213.193.182.14] helo=krijt.dyn.dhs.org) by bigglesworth.mail.be.easynet.net with esmtp (Exim 3.35 #1) id 17G4BK-0000N3-00; Thu, 06 Jun 2002 22:48:31 +0200 Received: (from wim@localhost) by krijt.dyn.dhs.org (8.11.3/8.11.3) id g56KnOC88883; Thu, 6 Jun 2002 22:49:24 +0200 (CEST) (envelope-from wim) Date: Thu, 6 Jun 2002 22:49:24 +0200 From: Wim Livens To: Mikel King Cc: freebsd-isp@FreeBSD.ORG Subject: Re: syslog-ng Message-ID: <20020606204924.GB58553@krijt.livens.net> References: <3CFFC148.7080904@netscape.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CFFC148.7080904@netscape.net> User-Agent: Mutt/1.3.24i Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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