|
ANALYZINIG LOG FILES This section outlines methods for doing rudimentary logfile analysis. HTTP servers generate a lot of logfiles. Depending on your server, it may generate lists of what was accessed, who accessed it, and with what browser. In a nutshell, there are basically two ways to analyse this information. The first and most popular is to apply some sort of analysis tool to your logfiles. Some of these tools include Wusage, Getstats, and wwwstat. But the most popular seems to be Analog. The second approach is to import your log files into a database and then query the database to create reports. This second approach is less popular, more difficult to implement, but may give you more exact information concerning the use of your server. To make the job a bit easier, you may want to try tabulate, a perl script that outputs tab-delimited text from "common log format" logfiles. If you use Apache, then you can configure it to create tab-delimited files automtically. |
ANALOG |
Analog is an application that can analyse your log files. It runs on Unix, Windows, and Macintosh computers. It can generate HTML or plain text output. All of its options are compiled into the application, can be overridden through a configuration file, or even the command line. Its fast and its free. The most common structure of HTTP server logfiles is the "common logfile format." This format has the following structure:
Where:
To use Analog, first you must download and uncompress the archive from the Analog home page or any of its many mirror sites. If you are using a Unix computer, you will have to edit the analog.h file to define the application's defaults. You must then make (compile) the application. Don't fret. Its easy. The Windows and Macintosh version come pre-compiled and require little extra configuration.
The next step in using Analog is the editing of its configuration file, Next, running Analog will examine your logfile, politely report any errors, create your report, and exit. Furthermore, it will do this quickly! After playing with Analog for a little while, you may want to explore fine tuning some of its miriade of options thus customizing your reports to your needs. Such options include dates, times, host name exclusion, text/HTML graphic/text output, and browser types, etc. Analog is worth much more than what you will pay for it. |
SEE ALSO |
|
Version: 1.5
Last updated: 2004/12/23. See the release notes.
Author: Eric Lease Morgan (eric_morgan@infomotions.com)
URL: http://infomotions.com/musings/waves/