Graphical Access Stats



This script is came about because, well... I wanted to generate view graphical statistics for particular URLs so as to get a feel for which were the most popular. It is based upon a script written by Matt Kruse.(Thank you Matt!!) It is different from his in that it compiles statistics based for particular URLs as opposed to statistics for all http requests and also allows the user to specify a time period for which the statistics could be generated. This requires, of course that individual log files are created daily.

Given a URL to search for, and a time period, the script analyzes the access_log of NCSA httpd 1.4 and reports on accesses based on day of the week, hour of the day, days of the month, and also an on-going graph of accesses.

Sample Input

This is what the input screen looks like.

Sample Output

This is a sample of the output. It is best viewed using Netscape.

Source Code:
Input form
Output CGI script

Here is the source code. This perl script is free. Note that this script requires 4 .gifs to display, which are included in the archives below.

TAR archive

Includes source and 4 gifs. (20k)


femibyte@monmouth.com