Message::Passing::Input::Syslog - input messages from Syslog.
message-pass --input Syslog --input_options '{"port":"5140"}' --output STDOUT
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.
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.
0.0.0.0
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.
The protocol to listen on, currently only UDP is supported.
See Message::Passing::Syslog.
To install Message::Passing::Syslog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Message::Passing::Syslog
CPAN shell
perl -MCPAN -e shell install Message::Passing::Syslog
For more information on module installation, please visit the detailed CPAN module installation guide.