The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XAS::Logmon::Filter::Merge - A filter class for log file manipulation.

SYNOPSIS

 use XAS::Logmon::Filter::Merge;

  my $merge = XAS::Logmon::Filter::Merge->new();
  
  $data = $merge->filter($data, {field => 'value'});

DESCRIPTION

This package will provide a filter to merge one hash into another. This can be used to add fields or override existing fields.

METHODS

filter($data)

This method will perform the merge. It takes these paramters.

$data

The hash to be merged with.

SEE ALSO

XAS::Logmon
XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (c) 2012-2015 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.