# enables writing messages to file and it is typically invoked without explicitly being named
:omfile: # *.info /var/log/messages
# Used for forwarding log messages to a remote server using different protocols
:omfwd: # *.* @@remote-host:514 (Using TCP to forward messages to a remote host
# Allows executing shell commands with log message content.
:omshell: # :omshell:/path/to/shell/script
# Used to send log messages via email.
:ommail: # :ommail:mail.example.com,from@example.com,to@example.com
# Directs log messages to a named pipe (FIFO).
:ompipe: # *.* :ompipe:/path/to/pipe.fifo
# Used for forwarding log messages to an external program’s standard input.
:omprog: # *.* :omprog:/path/to/script
# Sending messages to a remote server using the RELP (Reliable Event Logging Protocol).
:omrelp: # *.* :omrelp:remote-host:2514
# Forwarding messages using UDP while spoofing the IP address.
:omudpspoof: # *.* :omudpspoof:ip-to-spoof,remote-host
# Producing messages to Apache Kafka brokers.
:omkafka: # Producing messages to Apache Kafka brokers.
# Producing messages to Apache Kafka brokers.
:omclickhouse: # Producing messages to Apache Kafka brokers.
logger -p local7.notice "Log entry created on host"
logger -p user.debug "Debug Message Test"