socketName¶
This is the name of the socket.
This parameter applies to omuxsock: Unix sockets Output Module.
- Name:
socketName
- Scope:
module, action
- Type:
string
- Default:
action=none
- Required?:
yes
- Introduced:
v8.2512
Description¶
This is the name of the socket. There is no default. Every socket must be named.
Module usage¶
A socketName set at the module level becomes the default socketName 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" socketName="/tmp/socksample")
Action usage¶
action(type="omuxsock" socketName="/tmp/socksample")
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.