template

Sets the template for formatting messages sent to Unix sockets.

This parameter applies to omuxsock: Unix sockets Output Module.

Name:

template

Scope:

module, action

Type:

word

Default:

RSYSLOG_TraditionalForwardFormat

Required?:

no

Introduced:

at least 5.x, possibly earlier

Description

Name of the template to use to format log messages sent to Unix sockets. When set at module scope, it becomes the default for actions without an explicitly configured template. When set on an action, it overrides the module-level default for that action.

Module usage

module(load="omuxsock" template="RSYSLOG_TraditionalForwardFormat")

Action usage

action(type="omuxsock" template="RSYSLOG_TraditionalForwardFormat")

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–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.