Subject: ANNOUNCE: Apache::ParseLog module
From: Akira Hangai <[email-masked]>
Date: 6 Oct 1998 15:26:13 GMT
Newsgroups: comp.lang.perl.announce,comp.lang.perl.modules

Apache::ParseLog Module
Object-oriented Perl extension for parsing Apache log files

Apache::ParseLog provides an easy way to parse the Apache log files,
using an object-oriented constructs. The data obtained using this module
are generic enough that it is flexible to use the data for your own
applications, such as CGI, simple text-only report generater, feeding
RDBMS, data for Perl/Tk-based GUI application, etc. 

Feature:
1) Easy and portable log-parsing methods
2) Support for LogFormat/CustomLog introduced by Apache 1.3.x
(dynamically constructed regex)

Synopsis:
   use Apache::ParseLog;
   $base = new Apache::ParseLog($path_to_httpd_conf);
   $transferlog = $base->getTransferLog();
   %bytebydate = $transferlog->bytebydate();
   foreach (sort keys %bytebydate) { 
       # print, "date: bytes", e.g., "09/25/1998:   123456 bytes"
       print "$_:\t$bytebydate{$_} bytes\n"   
   }

I'll really appreciate comments, suggestions, opnions, etc. 

URL (for now): http://206.30.13.158/perl
Should be available at CPAN shortly
(CPAN/by-module/Apache/Apache-ParseLog-1.00.tar.gz)

-- 
Akira Hangai <[email-masked]>
1024/0F504319/60 F4 08 43 CD 08 2C 73  80 16 77 B2 A5 C7 E4 30