From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/960 Path: news.gmane.org!not-for-mail From: Rafal Bisingier Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Help needed on svlogd pattern match Date: Mon, 19 Dec 2005 10:04:57 +0100 Message-ID: <20051219090457.GA7093@localhost> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" X-Trace: sea.gmane.org 1134983095 2749 80.91.229.2 (19 Dec 2005 09:04:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2005 09:04:55 +0000 (UTC) Original-X-From: supervision-return-1196-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Dec 19 10:04:54 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1EoGvS-0000Pz-BJ for gcsg-supervision@gmane.org; Mon, 19 Dec 2005 10:03:22 +0100 Original-Received: (qmail 9153 invoked by uid 76); 19 Dec 2005 09:03:43 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 9147 invoked from network); 19 Dec 2005 09:03:42 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://www.man.poznan.pl/~ravbc/pubkey.asc Xref: news.gmane.org gmane.comp.sysutils.supervision.general:960 Archived-At: --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Dec 19, 2005 at 10:29:50AM +0530, Rajkumar s wrote: > Dear sir, > For a quiet sometime we had been using svlogd for log > processing, I need some help regarding matching some pattern in the > log files and that needs to be logged in seperately in another log > file. >=20 > eg: >=20 > timestamp rcpt:-:not valid sender > timestamp rcpt:+:valid email-id > timestamp rcpt:-:not valid recipient >=20 > I need only the + lines ie., "timestamp rcpt:+:valid email-id" to be > logged in seperately >=20 > The Config file is shown below > s100000 > n5 > -* > +rcpt:+* >=20 > But this doesn't work , Kindly help me out to log messages seperately. Try: +*rcpt:+* --=20 Rafal Bisingier --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDpne5MJnHpIMRS0gRAmxjAJ97ilACtet7y6oNMjUAQzH+7ZWqJgCfW3xo n3CDOLBHz8Ihw5Vd6VgRitc= =0Srz -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--