Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.544.099 Times

HTTPD::Log::Filter 1.08

  Date Added: June 22, 2010  |  Visits: 816

HTTPD::Log::Filter

Report Broken Link
Printer Friendly Version


Product Homepage
Download (83 downloads)



HTTPD::Log::Filter is a Perl module to filter entries out of an httpd log. SYNOPSIS my $hlf = HTTPD::Log::Filter->new( exclusions_file => $exclusions_file, agent_re => .*Mozilla.*, format => ELF, ); while( <> ) { my $ret = $hlf->filter( $_ ); die "Error at line $.: invalid log formatn" unless defined $ret; print $_ if $ret; } print grep { $hlf->filter( $_ ) } <>; $hlf = HTTPD::Log::Filter->new( capture => [ qw( host ident authexclude date request status bytes ) ]; ); while( <> ) { next unless $hlf->filter( $_ ); print $hlf->host, "n"; } print grep { $hlf->filter( $_ ) } <>; This module provide a simple interface to filter entries out of an httpd logfile. The constructor can be passed regular expressions to match against particular fields on the logfile. It does its filtering line by line, using a filter method that takes a line of a logfile as input, and returns true if it matches, and false if it doesnt. There are two possible non-matching (false) conditions; one is where the line is a valid httpd logfile entry, but just doesnt happen to match the filter (where "" is returned). The other is where it is an invalid entry according to the format specified in the constructor..

Requirements: No special requirements
Platforms: Linux
Keyword: Entries Filter Httpd Httpdlogfilter Libraries Line Module Out Of Perl Perl Module Print Programming
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


HTTPD::LOG::FILTER RELATED
Libraries  -  Exporter::Easy 0.16
Exporter::Easy is a Perl module that takes the drudgery out of Exporting symbols. SYNOPSIS In module YourModule.pm: package YourModule; use Exporter::Easy ( OK => [ $munge, frobnicate ] # symbols to export on request ); In other files...
9.22 KB  
E-Mail Tools  -  Simple Multi User Out-Of-Office-Responder 20070720
Simple Multi User Out-Of-Office-Responder project is a vacation email responder that can be easily plugged into simple SMTP servers with procmail. We have a small e-mail server running on Debian GNU/Linux. All users are local (in /etc/passwd),...
5.12 KB  
Games  -  Out of the Park Baseball 8 Free (PC) 8.0.0.15
Out of the Park Baseball 8 is an award-winning baseball simulation which won Metacritic PC Game of the Year 2007 and is still their 2nd highest-ranked PC game of all time! It's also PC Gamer's "Sports Game of the Year 2007". We're so confident...
90.95 MB  
Games  -  Out of the Park Baseball 8 Free (Mac) 8.0.0.15
Out of the Park Baseball 8 is an award-winning baseball simulation which won Metacritic PC Game of the Year 2007 and is still their 2nd highest-ranked PC game of all time! It's also PC Gamer's "Sports Game of the Year 2007". We're so confident...
95.73 MB  
Networking  -  javascript Break Out of Frames Script 1.1
If your page is captured inside of a frame on another site, this script will break your page out of the frameset and make your page the parent (that is, top) page.
10 KB  
Libraries  -  CGI::Out 2006.0215
CGI::Out is a Perl module to buffer output when building CGI programs. SYNOPSIS use CGI; use CGI::Out; $query = new CGI; savequery $query; # to reconstruct input $CGI::Out::mailto = fred; # override default of $ out...
4.1 KB  
Libraries  -  MPEG::Audio::Frame 0.09
MPEG::Audio::Frame is a class for weeding out MPEG audio frames out of a file handle. SYNOPSIS use MPEG::Audio::Frame; open FILE,"file.mp3"; while(my $frame = MPEG::Audio::Frame->read(*FILE)){ print $frame->offset(), ": ",...
358.4 KB  
Libraries  -  Module::Crypt 0.04
Module::Crypt is a Perl module to encrypt your Perl code and compile it into XS. SYNOPSIS use Module::Crypt; # for a single file: CryptModule( file => Bar.pm, install_base => /path/to/my/lib ); # for multiple files: CryptModule(...
7.17 KB  
Libraries  -  App::Modular::Module::Events 0.1.2
App::Modular::Module::Events is a Perl module with event handling for App::Modular compatible applications. SYNOPSIS #################################################################### package App::Modular::Module::Me; use base...
16.38 KB  
Libraries  -  perlrpcgen 0.71
perlrpcgen is a Perl module that can generate Perl interfaces from ONC RPC interface definitions. SYNOPSIS perlrpcgen [--makefile] [--all] [--client] [--server] [--data] [--constants] [--module module] [--typemap typemap] [--fork] [--perl...
37.89 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB