syslog-receive options

syslog-receive options

Usage: syslog-receive [options]   
General syslog options:
   --proto arg (=UDP)      Supported syslog protocols: UDP, TCP, TLS
   --intf arg (=0.0.0.0)   Local interface to bind: IPv4/IPv6 address
   --port n (=514)         Port to listen (1-65535)
   --max-len n (=2048)     Maximum message size (3-65515)  
TCP/TLS specific options:
   --max-conn n (=100)     Maximum number of concurrent clients
   --disc-idle s           Disconnect client if no messages for specified period
   --no-oc                 Disable 'octet count' algorithm (RFC 5425)
   --no-crlf               Do not use CR/LF to split stream into messages
TLS options:
   --min-tls ver           Minimal TLS version: 1.0, 1.1, 1.2
   --tls-tmout ms (=2000)  Timeout for TLS handshake/shutdown procedures
   --no-dwa                No default SSL/TLS workarounds
   --cert path             Server certificate file
   --key path              Private key file
   --key-type arg (=PEM)   Private key file type: PEM, DER
   --pwd arg               Private key password
   --hosts path            File with host names for certificate path validation
   --cl-auth arg (=NO)     Request client certificates: NO, YES, REQUIRE
TLS: Validate client certificates with (choose one):
   --default-ca            Default directory with CA certificates
   --ca-file path          CA certificate(s) file (PEM)
   --ca-dir path           Directory with CA certificate files
   --fp-file path          File with fingerprints of known client certificates   
Display options:
   --tmst                  Display timestamp before each message
   --no-from               Do not display 'From' line
   --hex                   Display message content in hexadecimal format
   --term arg              Add explicit terminator at the end of each message
   --enc arg               Character encoding (instead of UTF-8)
Utility options:
   -h [ --help ]           Display this help message
   --log-lvl n (=2)        Minimal logging level: 0=trace, 1=debug, 2=info,
                           3=warnings, 4=errors, 5=critical, 6=off
    • Related Articles

    • syslog-receive examples

      Collect syslog over UDP port 10514  syslog-receive --port 10514 Collect syslog over TCP on the IPv6 loopback interface syslog-receive --proto TCP --intf ::1 Dump only collected syslog messages in hex format syslog-receive --no-from --hex --log-lvl 6 ...
    • syslog-receive versions

      Version 0.9.0 Initial release Go back to syslog-receive page