The syslog-ng application can send log messages to the following types of destinations.
file()
This destination is an ordinary text file. It is possible to use macros in filenames, thus you can create dynamic file names.
pipe()
This destination is a named pipe.
program()
This destination means the standard input of a given program.
syslog()
Send messages to a remote syslog server specified by its IP address or FQDN using the RFC 5424 (IETF syslog) protocol over TLS, TCP, or UDP. The default destination port is
514
.tcp()
Send messages to a remote syslog server specified by its IP address or FQDN using the RFC 3146 (BSD syslog or legacy-syslog) protocol over TCP or TLS. The default destination port is
601
.udp()
Send messages to a remote syslog server specified by its IP address or FQDN using the RFC 3146 (BSD syslog or legacy-syslog) protocol over UDP. The default destination port is
514
.unix_dgram()
This destination is a connectionless Unix socket destination.
unix_stream()
This destination specifies a connection–oriented Unix socket as a destination for log entries, for example,
/dev/log
.usertty()
This destination sends log messages to the terminal of a given user. Username is given as a parameter of usertty.
© 2021 BalaSys IT Security.
Send your comments to support@balasys.hu