Login   Register  
PHP Classes
elePHPant
Icontem

LogParser: Parse 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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-02-24 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 376 This week: 1All time: 6,001 This week: 1,420Up
Version License PHP version Categories  
logparser 1.0GNU Lesser General Publ...5.2PHP 5, Logging
Description Author  
This class can be used to parse Apache log files.

It can open Apache log files extract the parameters of each log file line using regular expressions to match the different log formats commonly used by Apache.

The parameters of each log line are returned as associative arrays.
Picture of Salil Kothadia
Name: Salil Kothadia <contact>
Classes: 1 package by
Country: India India
Age: ???
All time rank: 3174216 in India India
Week rank: 1083 Up88 in India India Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file access.log Data sample log data
Accessible without login Plain text file example.php Example The example / implementation file
Plain text file LogParser.php Class The Class file

 Version Control Unique User Downloads Download Rankings  
 0%Total:376All time:6,001
 This week:1This week:1,420Up
 User Comments (1)  
 
Thats a very good class !! loool If it did with error log, i...
5 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar