Menu

Tree [r68] /
 History

HTTPS access


File Date Author Commit
 arkiv 2008-12-03 miahfost [r59] Begun work on new version of a graphing yaalr.
 tags 2007-03-19 miahfost [r7] Tagged release of yaalr
 .svnignore 2009-01-14 miahfost [r63] added new ignore line.
 CHANGE_LOG 2008-12-03 miahfost [r59] Begun work on new version of a graphing yaalr.
 COPYING 2007-05-03 miahfost [r12] Added the text files COPYING and README
 README 2008-12-02 miahfost [r57] Updated for release.
 tests.pl 2009-02-04 miahfost [r64] Added a couple of empty helper scripts, and a T...
 update_release.sh 2009-02-04 miahfost [r64] Added a couple of empty helper scripts, and a T...
 yaalr-1.3.tar.gz 2009-07-18 miahfost [r65] Gzipped tarball
 yaalr-graph.pl 2009-07-18 miahfost [r68] Minor updates to the main script (svn pset) and...
 yaalr.pl 2008-12-03 miahfost [r59] Begun work on new version of a graphing yaalr.

Read Me

This is the README file for Yaalr - Yet Another Apache Log Reader
-----------------------------------------------------------------

Yaalr reads an apache log and reports back on it with the following information:

	1. First date found in the log 
	2. Number of 'Hits' in the log
	3. Number of successful requests (i.e. 200 status code) 
	4. Number of 'Not Found' pages (i.e. 404 status code)
	5. Number of 'Internal Error' pages (i.e. 500 status code)
	6. Unique remote hosts found in the log
	7. Total number of bytes transfered, in Megs and Gigs
	8. Last date found in the log

Yaalr supports three types of log files:

	standard: This is the default apache log file, use the -s option to parse this type of file 
	combined: This type of log file has the referrer as well as other information combined into one
	          log, use the -c option if you have this type of log file
	combined with cookies: This type of log file is the same as the normal combined log file but it
		  also has a field for cookies, use the -f option for this log type

Options:
	-s 	Parses a common apache log file and produces a report on the command line.  
		Expects a file as an argument after the option.

       	-c      Parses a combined apache log file and produces a report on the command line.  
		Expects a file as an argument after the option.

       	-f      Parses a combined apache log file that includes cookies and produces a report on the command line. 
		Expects a file as an argument after the option.

Example:

	yaalr.pl -s /var/log/apache/access.log

Yaalr is a perl script so you can install it anywhere you wish. Since it is a perl script it comes with
documentation, simply use perl's built in documentation system: `perldoc yaalr.pl`

Note that you need to have read permissions on a web log to read it, yaalr will need this as well.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.