PHP Classes

Apache log parser: Parse Apache log files in the common log format

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 2,806 This week: 1All time: 1,346 This week: 560Up
Version License Categories
apachelogparser 1.0.0GNU General Publi...Text processing, Logging
Description 

Author

This class can be used to parse Apache log files in the common log format.

It opens a given log file and parses each line at once. The values of the fields of each log line are returned in an associative array.

Picture of sam
Name: sam <contact>
Classes: 3 packages by
Country: United Kingdom
Age: 35
All time rank: 47325 in United Kingdom
Week rank: 411 Up12 in United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file apache-log-parser.php Class Main class file
Accessible without login Plain text file example.log Data Example log file
Accessible without login Plain text file example.php Example Example of the class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,806
This week:1
All time:1,346
This week:560Up
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:3363