apachegrep 0.2 review

Download
by rbytes.net on

apachegrep is a perl program (which does not require any non-standard perl modules) to help webmasters (or anyone, really) go through

License: GPL (GNU General Public License)
File size: 0K
Developer: Scott Klein and Felix Sheng
0 stars award from rbytes.net

apachegrep is a perl program (which does not require any non-standard perl modules) to help webmasters (or anyone, really) go through their apache common/combined logs and try to pullout various bits of information.

Built in the spirit of unix tools, it's designed to be used standalone or as part of a pipeline of tools to pore over common (or combined) logs and print out entire lines, specified fields or a simple count of matching lines.

You specify what fields you want and what regular expression you want applied to that field.

It supports gzipped and bzipped log files.

To our knowledge there's nothing really out there that does this. Up till now it's been a series of adhoc commandline perl, cut and sorts.

Usage example

apachegrep -r 'gif' /path/to/logfile | apachegrep -s 200 -o -h | sort -u

returns a sorted, uniqued list of host fields for every successful gif transfer.

What's New in This Release:
A '-a' flag that changes the sense of multiple conditions from OR to AND was implemented.

apachegrep 0.2 keywords