omuxsock: Unix sockets Output Module¶
Module Name: omuxsock
Available since: 4.7.3, 5.5.7
Author:Rainer Gerhards <firstname.lastname@example.org>
This module supports sending syslog messages to local Unix sockets. Thus it provided a fast message-passing interface between different rsyslog instances. The counterpart to omuxsock is imuxsock. Note that the template used together with omuxsock must be suitable to be processed by the receiver.
Note: parameter names are case-insensitive.
- $OMUxSockSocket Name of the socket to send data to. This has no default and must be set.
- $OMUxSockDefaultTemplate This can be used to override the default template to be used together with omuxsock. This is primarily useful if there are many forwarding actions and each of them should use the same template.
Currently, only datagram sockets are supported.
The following sample writes all messages to the “/tmp/socksample” socket.
$ModLoad omuxsock $OMUxSockSocket /tmp/socksample *.* :omuxsock:
If you would like to contribute to these docs, but are unsure where to start, please see the rsyslog-doc project README for an overview of the process. If you would like to contribute to the main source project, please review the contribution guidelines listed in the rsyslog project README.
If you have a question about these docs or
Rsyslog in general, please
see the following resources: