The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SYSLOGD-SIMPLE - Simple Syslog Server

SYNOPSIS

syslod-simple [options]

DESCRIPTION

Listens for Syslog messages and logs to console and optional file. Tries to decode according to RFC 3164 message format. Syslog columns are:

Source IP Address
Source UDP port
Facility
Severity
Timestamp (or 0 if not matched)
Hostname  (or 0 if not matched)
Message

OPTIONS

-4               Force IPv4.
-6               Force IPv6 (overrides -4).

-d <dir>         Output file directory.
--directory      DEFAULT:  (or not specified) [Current].

-i #             UDP Port to listen on.
--interface      DEFAULT:  (or not specified) 514.

-l               Output list format.
--list           DEFAULT:  (or not specified) Line.

-t               Print time in human-readable yyyymmddhhmmss format.
--time           DEFAULT:  (or not specified) Unix epoch.

-w               Log to "syslogd.log".
-w -w            Log by facility in "<facility>.log".
-w -w -w         Log by hostname in "<host>.log".

LICENSE

This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.

AUTHOR

Copyright (C) Michael Vincent 2010

http://www.VinsWorld.com

All rights reserved