From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id D7D9EBC58 for ; Mon, 11 Oct 2010 16:03:50 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkcBAGq2skxKfVK2kGdsb2JhbACDH5BBMY10CBUBAQIJCQwHEQMfpQiJDjyCGIY4LohWAQEDBYRPdASKQYMDYQ X-IronPort-AV: E=Sophos;i="4.57,314,1283724000"; d="asc'?scan'208";a="80595333" Received: from mail-wy0-f182.google.com ([74.125.82.182]) by mail1-smtp-roc.national.inria.fr with ESMTP; 11 Oct 2010 16:03:50 +0200 Received: by wyf19 with SMTP id 19so475555wyf.27 for ; Mon, 11 Oct 2010 07:03:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type; bh=Y2d7eCP2hY90FJqzBgvosMAjy+Lpf11D+pgJ82fZTKE=; b=suL7Mp3+yD6MFG0SZMvp6hLhDSLv5kCPYO50Xdg5ywOb7GmidhtY/JP9HKk+856r0n 8KHmSEQJYQZ7hZtyTupHxqJt4FExVfJ1LBkQTa9mr4A7UUmRz3d30jVs01JeKDfORkWQ ty3bBJhAJZ0G8hDJITNC52/z/qobj9TKKqnn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=aKAhbXpePG5NiM26iWxBjtpvneKawbw3fnlc+/N8378fvO2e4jrCHckUggKmDqDeLM MJo1xu3Qd4fTRdDpprQUvuMbcOpDcJZDLPx0fc1PFf71BY4oggx/pJ4F8PvUEiThi6/6 bty2RYhZYs9+8vfxUCjiYsDuiPCnwQLZ8AV94= Received: by 10.227.132.211 with SMTP id c19mr5474580wbt.226.1286805830191; Mon, 11 Oct 2010 07:03:50 -0700 (PDT) Received: from [129.215.90.3] (dhcp-90-003.inf.ed.ac.uk [129.215.90.3]) by mx.google.com with ESMTPS id b30sm3063154wbb.16.2010.10.11.07.03.49 (version=SSLv3 cipher=RC4-MD5); Mon, 11 Oct 2010 07:03:49 -0700 (PDT) Message-ID: <4CB3199D.5090500@gmail.com> Date: Mon, 11 Oct 2010 15:05:17 +0100 From: Chris Yocum User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4 MIME-Version: 1.0 To: oliver@first.in-berlin.de Cc: caml-list@inria.fr Subject: Re: [Caml-list] OPLP: Ocaml APache Log Parser References: <4CB3150D.6020402@gmail.com> <20101011135422.GC6256@first.in-berlin.de> In-Reply-To: <20101011135422.GC6256@first.in-berlin.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig298C628D655EAD768A2D3625" X-Spam: no; 0.00; ocaml:01 parser:01 in-berlin:01 0100,:01 parser:01 bug:01 beginner's:01 ocaml:01 bug:01 config:01 beginners:01 wrote:01 wrote:01 oliver:01 oliver:01 X-Attachments: cset="UTF-8" type="application/pgp-signature" name="signature.asc" name="signature.asc" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig298C628D655EAD768A2D3625 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Oliver, For now, I was just concentrating on the "combined" format that is used as an example on the apache site. I will probably branch out into parsing the log format itself later once I get more experience with it. Also, does anyone have a smallish block of apache log files (<30k) that I can use for testing? All the best, Chris Yocum On 11/10/10 14:54, oliver@first.in-berlin.de wrote: > On Mon, Oct 11, 2010 at 02:45:49PM +0100, Chris Yocum wrote: >> Dear Everyone, >> >> I just wanted to let Ocaml'ers know that I am currently working on an >> apache combined log parser. It is still in very early stages of >> development but patches/comments/feature requests/bug reports are very= >> welcome. The code lives on github (http://github.com/cyocum/OPLP). > [...] >=20 > Aha... long ago I had done something similar, and it had an sql-like > language for using it. >=20 > The annoyance (and advantage ;)) with the apache logfiles is, that ther= e > are many "standard" formats, and you also can design your own output fo= rmat. >=20 > So it would make sense (I didn't do that) to parse the apache config fi= les, > and create a logparser from that information... >=20 > Do you have planned to do this, or do you want to stick with some of th= e > most used formats? >=20 > Ciao, > Oliver >=20 > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs --------------enig298C628D655EAD768A2D3625 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyzGaUACgkQTsMNflSecIbmKgCg0rp0kI80ckJ1HIcbFel04Y7W p0YAoKPs1y3N81cJnEz9G79SmK2FPa2k =ch+m -----END PGP SIGNATURE----- --------------enig298C628D655EAD768A2D3625--