| Changes: "Fixed" all problems with program. Changed method of decoding IP address. Can use list items (UL) instead of tables. |
|
Tell me what it can do!
eZstat now allows you display hits from a certain date (ex: all hits from 3-13-99 to current)
eZstat is a statistics program written in Perl which will read in an access log (created by most unix systems) and output a web page with the information presented neatly. The program will decode the IP addresses if your system hasn't already done so and will also unzip the access log, should it of been gzipped. eZstat creates a dbm (database) file containing all IP addresses (and their corresponding hostnames) that were already decoded to reduce the running time. The web page produced will have the information categorized two ways: by file name and by user hostname. Viewing the user category allows you to track the user as he/she goes throughout your site, seeing what files he/she accesses, and in what order. Viewing the file category allows you to see which users are interested in what files. For instance, if you told someone from Rutgers University to take a look at your site, you can see what he/she was found interesting by finding the user with a rutgers.edu domain. Also listed in the file category is the number of times each file was accessed. For each category, also listed is the time, date, and status (404, etc.) of each file retrieval by user. At the end of the output is a listing which tells you how many people have visited your site. This program can even be run as a cgi program (over the web) as long as you have cgi setup on your system. eZstat allows for some customization if desired, such as the exclusion of certain hosts or files from the output.
How do I setup the program?
eZstat, as meant by its name, is easy to setup and run.
location which contains the absolute or relative (in relation to eZstat) location of the access log. If the access log is gzipped, then make sure it ends in .gz. Usually the access log is called access_log, although it may be different on your system. perl eZstat.pl > log.html. ezStat.pl is the program, and log.html is the output file (web page) to be viewed in a browser later. http://yourDomain.com/cgi-bin/eZstat.pl. hostnames in the same directory as eZstat. In that file, put each desired hostname (or part of hostname - examples: eden.rutgers.edu, rutgers.edu, .edu) on a line by itself. filenames in the same directory as eZstat. In that file, put each desired filename (or part of filenames - examples: typing.html, .html, .pl) time.pl (perl time.pl) in the same directory as ezStat.pl (will create a file called time).
FAQ (trouble shooting)
Please send your problems with this program to webmaster@web-page-services.com, so that this section can grow!
Legal
----------------------------------------------------------------------------------------
Copyright January 18, 1999 by David Sontag of web-page-services.com
----------------------------------------------------------------------------------------
eZstat may not be modified and/or distributed for sale in any way without the permission of
web-page-services.com. Send all comments, questions, or requests, to webmaster@web-page-services.com.
Other than that, you are free to use the program for your own personal use. The header and the
copyright information on the program's output must remain in all redistributions. Full credit must be
given to web-page-services.com.
----------------------------------------------------------------------------------------
In no way will web-page-services.com or David Sontag be held responsible for any damage
or other problems that may occur due to the use of eZstat.