# template

Sets the template for formatting messages sent to the program.

This parameter applies to omprog: Program integration Output module.

Name:

  template

Scope:

  action

Type:

  word

Default:

  action=RSYSLOG_FileFormat

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

Name of the template to use to format the log messages passed to the external program.

## Action usage

    action(type="omprog" template="RSYSLOG_FileFormat")

## See also

See also omprog: Program integration 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.