Browse thread
OPLP: Ocaml APache Log Parser
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Gaius Hammond <gaius@g...> |
| Subject: | Re: [Caml-list] OPLP: Ocaml APache Log Parser |
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