PHP Classes
elePHPant
Icontem

PHP Apache Log Parser and Filter: Parse and filter Apache logs to discard crawlers

Recommend this page to a friend!

  Author Author  
Picture of Janne
Name: Janne <contact>
Classes: 1 package by
Country: Finland Finland
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can parse and filter Apache access logs to discard crawlers.

It takes the contents of Apache access log file and parses it to filter lines that are not of accesses of crawlers of search engines or are accessing pages for crawlers like the robots.txt.

The class can process the remaining access log file lines to display the relevant information, including the country of the IP address of each access.

  Classes of Janne  >  PHP Apache Log Parser and Filter  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Apache Log Parser and Filter
Base name: apache-log-filter
Description: Parse and filter Apache logs to discard crawlers
Version: 1.0.0
PHP version: 5.2
License: BSD License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Logging Log generation and processing View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
July 2013
Number 4


Prize: One book of choice by Packt
Web servers can record details of the accesses of site users in log files.

However, accesses performed by search engine crawlers and other types of robot programs may not be useful to be accounted because they are not real users.

This class can process Apache access logs in a way that it discard accesses of several types of robot programs.

Manuel Lemos

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imageclasses (3 files)
Accessible without login Plain text file ALogFilter.css Aux. Css-file just for prettifying the js-functional buttons.
Accessible without login Plain text file ALogFilter.js Aux. Provides functionality for adding pre-defined filters
Accessible without login Plain text file index.php Example This is a example PHP/HTML-page for using the classes

  Files folder image Files  /  classes  
File Role Description
  Plain text file ApacheAccessLogFilter.php Class access log filter
  Accessible without login Plain text file debugger.php Aux. debugger class for ApacheAccessLogFilter
  Plain text file ip2Nation.php Class resolves the country from IP

Install with Composer Install with Composer - Download Download all files: apache-log-filter.tar.gz apache-log-filter.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.