# ActionGSSForwardDefaultTemplate

Sets the default output template omgssapi applies when a forwarding action omits an explicit template.

This parameter applies to GSSAPI module support in rsyslog v3.

Name:

  ActionGSSForwardDefaultTemplate

Scope:

  module

Type:

  string

Default:

  RSYSLOG_TraditionalForwardFormat

Required?:

  no

Introduced:

  3.12.4

## Description

Sets a new default template for the GSS-API forwarding action. When no template is specified in the forwarding rule, omgssapi falls back to this value. By default the module uses the built-in `RSYSLOG_TraditionalForwardFormat` template, matching the legacy syslog forward format. Legacy syntax configures this with directives such as `$ActionGSSForwardDefaultTemplate RSYSLOG_ForwardFormat`.

## Module usage

    module(
        load="omgssapi"
        actionGssForwardDefaultTemplate="RSYSLOG_ForwardFormat"
    )
    action(type="omgssapi" target="receiver.mydomain.com")

### Legacy names (for reference)

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

- $ActionGSSForwardDefaultTemplate — maps to ActionGSSForwardDefaultTemplate (status: legacy)

## See also

See also GSSAPI module support in rsyslog v3.

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.