Login   Register  
PHP Classes

Apache Logs Reader: Parsing and processing Apache log files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-02-05 (10 years ago) RSS 2.0 feedStarStarStarStar 63%Total: 4,894 All time: 508 This week: 1,319Down
Version License Categories  
apachelogsreader 1.0.0Freely DistributableStatistics, Logging
Description Author  

This package is meant to parse and process Apache log files. It supports arbitrary Apache log formats, but it already comes with built in definitions to specify the formats: common, combined, referer and agent.

There is a base class that parses and extracts information from the log lines. This class may be extended by a sub-class to process the logs to generate specific statistics data.

This package comes with the sub-class ApacheLogVisits as an example of extended class that is meant for counting page views and site vistors.

Picture of Pascal Toussaint
Name: Pascal Toussaint <contact>
Classes: 6 packages by
Country: France France
Age: 48
All time rank: 767 in France France
Week rank: 458 Down17 in France France Down

  Files folder image Files  
File Role Description
Plain text file class.apache.logs.reader.php Class The ApacheLogsReader base class and the ApacheLogVisits extended class
Accessible without login Plain text file HOWTO Doc. How to use the class
Accessible without login Plain text file test_logsreader.php Example ApacheLogVisits example

 Version Control Unique User Downloads Download Rankings  
 0%Total:4,894All time:508
 This week:0This week:1,319Down
 User Ratings  
 All time