socketType¶
This is the type of the socket (DGRAM, STREAM, SEQPACKET).
This parameter applies to omuxsock: Unix sockets Output Module.
- Name:
socketType
- Scope:
module, action
- Type:
string
- Default:
module=DGRAM, action=DGRAM
- Required?:
no
- Introduced:
v8.2512
Description¶
This indicates the type of socket. It can take on the value DGRAM to indicate a datagram socket type (the default) or STREAM to indicate a streaming socket type. When supported by the underlying operating system, it can also have the value SEQPACKET to indicate a sequenced packet socket type.
Module usage¶
A socketType set at the module level becomes the default socketType for the first unnamed action. It only applies to a single unnamed action, so it is primarily just a short-hand notation for when only a single omuxsock action is required.
module(load="omuxsock" socketType="DGRAM")
Action usage¶
action(type="omuxsock" socketType="DGRAM")
action(type="omuxsock" socketType="STREAM")
action(type="omuxsock" socketType="SEQPACKET")
Note
socketName, abstract, and socketType constitute a logical configuration tuple. They are applied together as a whole tuple from a module level configuration to an action. Therefore, all three parameters must be explicitly specified in the action, or none may be specified in the action. In the latter case, the default is taken from the module.
See also¶
See also omuxsock: Unix sockets Output Module.
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.