> Has anyone come across a programme which will take raw server logs in the
> form...
> fatb.reno.nv.us - - [18/Sep/1996:07:35:25 +0100] "GET / HTTP/1.0" 200 744
> fatb.reno.nv.us - - [18/Sep/1996:07:35:27 +0100] "GET /public/header.htm
> HTTP/1.0" 200 1089
> fatb.reno.nv.us - - [18/Sep/1996:07:35:27 +0100] "GET /public/home.htm
> HTTP/1.0" 200 584
> etc. and convert them into stats. (preferably without access to server
> side).
> Yours Paul
Indeed. That programme is called PERL.
(Practical Extraction and Report Language)
PERL is a (free!) computer language which many grizzled Unix system administrators
(such as myself) swear by.
But don't let that put you off. PERL is the cat's pyjamas. Really.
Pick up the book (the OReilly Nutshell Handbook "Learning Perl" by Randal L. Schwartz)
and you'll be programming within the hour.
This book is universally called "The Llama Book" if you want to appear
to be in the know when you visit the bookshop.
You will wonder how on Earth you ever managed without it.
The PERL language is given away free to the world by Larry Wall.
It is avialable for all platforms / OSes as far as I know.
(including Win31, Win95 and WinNT)
PERL was invented long before the Web, but it is such an amazingly useful
and versatile language that it is that language used by most Web servers
for CGI scripts etc.
Given that the virtues of any PERL programmer are hubris and laziness,
I bet you a pound to a penny that there are PERL scripts out there which
will do the stats. on server logs just like you want.
Other people do that too!
(see http://www.sci.kun.nl/thalia/guide/index.html#page-stats)
I'll be happy to give anyone advice/help on PERL.
See the PERL pages, http://www.perl.com/perl/index.html
John Hearns
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|