PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 2,808 All time: 1,346 This week: 49Up
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: 47425 in United Kingdom
Week rank: 200 Up10 in United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,808
This week:0
All time:1,346
This week:49Up
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:3418