[thelist] Anyone have a web log file reader (not analyser)?

Phil info at webdisplays.com
Fri Aug 17 12:02:43 CDT 2001


At 04:23 AM 8/12/2001 -0500, you wrote:

>From: databarn <databarn at airmail.net>
>
>Folk,
>
>Anyone have a pointer to a log file reader?  Don't want an analyser, per
se, just want to be able to read the raw log files in a formatted view.
Standalone or web, remote capability would be nice, but not a show-stopper.
>

I have such a program written in cgi perl that works on any sort of logfile
or server but it may be useless to you if you don't have perl installed.
Most (all?) log files are simply written in plain text so reading a log is
as simple as ftping it down and opening it in a text editor like wordpad.

The real issue is that logfiles can get to be many many of megabytes,
depending on site traffic or the admin's policies for rotating them or
whether you do it yourself.

I have a simple, configurable set of perl scripts that let you choose
between the server, transfer or error log and do a ~tail of the last 'x'
number of lines. For logfiles, (which are never shared between vhosts) it
offers a search string matching utility that lets you extract only
information about the files, folders, remote users or IP address/domain
that you are interested in the activities of, from within the specified
last 'x' number of loglines, saving you a huge download to pick out a bit
of recent information.

It has a html interface for the search settings and logfile output.You have
to know the locations/filenames of your logs and have perl to install it,
and it
has password protection for the web interface.

Phil Stark
info at webdisplays.com





More information about the thelist mailing list