template

Selects the template used to format messages sent through omdtls actions.

This parameter applies to omdtls: Output Module for DTLS Protocol over UDP.

Name:

template

Scope:

module, input

Type:

word

Default:

module=none, input=RSYSLOG_FileFormat

Required?:

no

Introduced:

v8.2402.0

Description

Selects the template that formats messages for omdtls actions. If an action does not specify this parameter, it uses RSYSLOG_FileFormat. The module parameter is defined for compatibility but is currently ignored.

The module has always defaulted actions to RSYSLOG_FileFormat (see plugins/omdtls/omdtls.c), even though earlier documentation mentioned RSYSLOG_TraditionalForwardFormat. Update existing configurations only if you require a different template.

Module usage

module(load="omdtls" template="ForwardingTemplate")

Input usage

action(type="omdtls" target="192.0.2.1" port="4433" template="ForwardingTemplate")

See also

See also omdtls: Output Module for DTLS Protocol over UDP.


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.