Ivan Wills > Tail-Tool-v0.3.3 > Tail::Tool::Plugin::GroupLines

Download:
Tail-Tool-v0.3.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: v0.3.0   Source   Latest Release: Tail-Tool-v0.3.5

NAME ^

Tail::Tool::Plugin::GroupLines - Groups real lines of a log file so that other plugins treat then as one line.

VERSION ^

This documentation refers to Tail::Tool::Plugin::GroupLines version 0.3.0.

SYNOPSIS ^

   use Tail::Tool::Plugin::GroupLines;

   # Brief but working code example(s) here showing the most common usage(s)
   # This section will be as far as many users bother reading, so make it as
   # educational and exemplary as possible.

DESCRIPTION ^

Groups lines together so that they are presented as one line to other plugins. It does this by checking each real log file line and checking if it matches regex to indicate the start of a line (or if end is true the regex matches the end of lines).

An example of why you might want to do this:

A log file with long data dumps that span many lines may be hard to filter out but if those lines can be grouped together then only part of the line need match for all lines to be excluded.

SUBROUTINES/METHODS ^

process ($line, $file)

DIAGNOSTICS ^

CONFIGURATION AND ENVIRONMENT ^

DEPENDENCIES ^

INCOMPATIBILITIES ^

BUGS AND LIMITATIONS ^

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

AUTHOR ^

Ivan Wills - (ivan.wills@gmail.com)

LICENSE AND COPYRIGHT ^

Copyright (c) 2011 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW, Australia). All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

syntax highlighting: