https://github.com/robrwo/perl5-common-log-parser
https://github.com/robrwo/perl5-common-log-parser
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/robrwo/perl5-common-log-parser
- Owner: robrwo
- License: other
- Created: 2024-02-09T14:09:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-03T13:19:27.000Z (2 months ago)
- Last Synced: 2025-05-03T14:25:37.459Z (2 months ago)
- Language: Perl
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- Contributing: CONTRIBUTING.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# NAME
Common::Log::Parser - Parse the common log format lines used by Apache
# VERSION
version v0.2.1
# SYNOPSIS
```perl
use Common::Log::Parser qw( split_log_line );my $columns = split_log_line($line);
```# DESCRIPTION
This module provides a simple function to parse common log format lines, such as those used by Apache.
# EXPORTS
None by default.
## split\_log\_line
```perl
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.
# SEE ALSO
- [Apache::Log::Parser](https://metacpan.org/pod/Apache%3A%3ALog%3A%3AParser)
- [Apache::ParseLog](https://metacpan.org/pod/Apache%3A%3AParseLog)
- [ApacheLog::Parser](https://metacpan.org/pod/ApacheLog%3A%3AParser)
- [Regexp::Log::Common](https://metacpan.org/pod/Regexp%3A%3ALog%3A%3ACommon)# SUPPORT FOR OLDER PERL VERSIONS
Since v0.2.0, the this module requires Perl v5.20 or later.
Future releases may only support Perl versions released in the last ten years.
# SOURCE
The development version is on github at [https://github.com/robrwo/perl5-Common-Log-Parser](https://github.com/robrwo/perl5-Common-Log-Parser)
and may be cloned from [git://github.com/robrwo/perl5-Common-Log-Parser.git](git://github.com/robrwo/perl5-Common-Log-Parser.git)# BUGS
Please report any bugs or feature requests on the bugtracker website
[https://github.com/robrwo/perl5-Common-Log-Parser/issues](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.## Reporting Security Vulnerabilities
Security issues should not be reported on the bugtracker website. Please see `SECURITY.md` for instructions how to
report security vulnerabilities.# AUTHOR
Robert Rothenberg
The initial development of this module was partially supported by Science Photo Library [https://www.sciencephoto.com](https://www.sciencephoto.com).
# COPYRIGHT AND LICENSE
This software is Copyright (c) 2024-2025 by Robert Rothenberg.
This is free software, licensed under:
```
The Artistic License 2.0 (GPL Compatible)
```