template

Sets the default template used by omudpspoof actions without an explicitly configured template.

This parameter applies to omudpspoof: UDP spoofing output module.

Name:

template

Scope:

module, action

Type:

word

Default:

RSYSLOG_TraditionalForwardFormat

Required?:

no

Introduced:

5.1.3

Description

This setting specifies the template for formatting output messages. When set at the module level, it becomes the default for all omudpspoof actions that do not have an explicit template. When set on a specific action, it overrides the module-level default for that action.

Module usage

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

Action usage

action(type="omudpspoof" template="RSYSLOG_TraditionalForwardFormat" target="192.0.2.1")

Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

  • $ActionOMUDPSpoofDefaultTemplate — maps to template (status: legacy)

See also

See also omudpspoof: UDP spoofing 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.