# Template

Template used to format messages for this action.

This parameter applies to omkafka: write to Apache Kafka.

Name:

  Template

Scope:

  action

Type:

  word

Default:

  action=inherits module

Required?:

  no

Introduced:

  at least 8.x, possibly earlier

## Description

Sets the template to be used for this action.

## Action usage

    action(type="omkafka" Template="MyTemplate")

## See also

See also omkafka: write to Apache Kafka.

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.