template¶
Specifies the rsyslog template used to render the message content.
This parameter applies to omawslogshlc: Amazon CloudWatch Logs HLC Output Module.
- Name:
template
- Scope:
action
- Type:
word
- Default:
RSYSLOG_TraditionalFileFormat
- Required?:
no
- Introduced:
Not specified
Description¶
template controls how each syslog message is rendered before being
placed into the HLC JSON event’s event field. The default
RSYSLOG_TraditionalFileFormat produces the traditional syslog one-line
format.
Action usage¶
action(type="omawslogshlc" template="MyCustomTemplate" ...)
See also¶
See also omawslogshlc: Amazon CloudWatch Logs HLC 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.