Common::Log::Parser - Parse the common log format lines used by Apache
version v0.1.0
use Common::Log::Parser qw( split_log_line ); my $columns = split_log_line($line);
This module provides a simple function to parse common log format lines, such as those used by Apache.
None by default.
my $columns = split_log_line($line);
This function simply parses the log file and returns an array reference of the different columns.
It does not attempt to parse or unescape the contents. Surrounding brackets or quotes are not removed.
Apache::Log::Parser
Apache::ParseLog
ApacheLog::Parser
Regexp::Long::Common
The development version is on github at https://github.com/robrwo/perl5-Common-Log-Parser and may be cloned from git://github.com/robrwo/perl5-Common-Log-Parser.git
Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/perl5-Common-Log-Parser/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Robert Rothenberg <rrwo@cpan.org>
The initial development of this module was partially supported by Science Photo Library https://www.sciencephoto.com.
This software is Copyright (c) 2024 by Robert Rothenberg.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Common::Log::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Common::Log::Parser
CPAN shell
perl -MCPAN -e shell install Common::Log::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.