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

NAME

Message::Passing::Input::Syslog - input messages from Syslog.

SYNOPSIS

    message-pass --input Syslog --input_options '{"port":"5140"}' --output STDOUT

DESCRIPTION

Provides a syslog server for UDP syslog.

Can be used to ship syslog logs into a Message::Passing system.

The message format is a hashref containing all keys returned from "parse_syslog_line" in Parse::Syslog::Line plus received_from.

ATTRIBUTES

hostname

The IP to bind the daemon to. By default, binds to 127.0.0.1, which means that the server can only be accessed from localhost. Use 0.0.0.0 to bind to all interfaces.

port

The port to bind to, defaults to 5140, as the default syslog port (514) is likely already taken by your regular syslogd, and needs root permissio to bind to it.

protocol

The protocol to listen on, currently only UDP is supported.

SEE ALSO

Message::Passing::Syslog
Message::Passing

AUTHOR, COPYRIGHT AND LICENSE

See Message::Passing::Syslog.