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

NAME

eris::log::decoder::syslog - Parse the syslog headers using Parse::Syslog::Line

VERSION

version 0.005

SYNOPSIS

Uses Parse::Syslog::Line to parse the raw string as if it were a message streaming into a syslog server. This helps capture the meta-data in the syslog headers.

ATTRIBUTES

priority

Defaults to 100, or last.

METHODS

decode_message

Takes a raw string, decodes that message using Parse::Syslog::Line and then remaps certain keys to "Common Event Expression" field names.

Stashes the decoded UNIX timestamp into the _epoch key.

SEE ALSO

eris::log::decoders, eris::role::decoder, Parse::Syslog::Line

AUTHOR

Brad Lhotsky <brad@divisionbyzero.net>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Brad Lhotsky.

This is free software, licensed under:

  The (three-clause) BSD License