From: Gaius Hammond <gaius@gaius.org.uk>
To: oliver@first.in-berlin.de
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] OPLP: Ocaml APache Log Parser
Date: Thu, 14 Oct 2010 19:23:13 +0100 [thread overview]
Message-ID: <6F100B00-6366-490D-BB54-44729BF201CA@gaius.org.uk> (raw)
In-Reply-To: <20101011135422.GC6256@first.in-berlin.de>
On 11 Oct 2010, at 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).
> [...]
>
> Aha... long ago I had done something similar, and it had an sql-like
> language for using it.
I do something like this, but using OCaml to load a logfile into
SQLite, and analyze it with "real" SQL.
http://gaiustech.wordpress.com/2010/09/12/analyzing-logfiles-1/
Probably my technique using sscanf wouldn't be fast enough for
something as big as an Apache log that might have a million lines.
Cheers,
G
next prev parent reply other threads:[~2010-10-14 18:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 13:45 Chris Yocum
2010-10-11 13:54 ` [Caml-list] " oliver
2010-10-11 14:05 ` Chris Yocum
2010-10-14 18:23 ` Gaius Hammond [this message]
2010-10-22 22:18 ` oliver
2010-10-12 6:48 ` Mihamina Rakotomandimby
2010-10-12 12:38 ` Chris Yocum
2010-10-13 10:37 ` Richard Jones
2010-10-13 10:57 ` Chris Yocum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6F100B00-6366-490D-BB54-44729BF201CA@gaius.org.uk \
--to=gaius@gaius.org.uk \
--cc=caml-list@inria.fr \
--cc=oliver@first.in-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox