PHP Classes

LogParser: Parse Apache log files

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
Not enough user ratingsTotal: 389 All time: 6,664 This week: 455Up
Version License PHP version Categories
logparser 1.0GNU Lesser Genera...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

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

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:389
This week:0
All time:6,664
This week:455Up
User Comments (1)
Thats a very good class !! loool If it did with error log, i...
16 years ago (José Filipe Lopes Santos)
70%StarStarStarStar