# GssForwardServiceName

Sets the Kerberos service principal base name used when omgssapi establishes a GSSAPI-secured forwarding session.

This parameter applies to GSSAPI module support in rsyslog v3.

Name:

  GssForwardServiceName

Scope:

  module

Type:

  string

Default:

  host

Required?:

  no

Introduced:

  1.21.2

## Description

Specifies the service name used by the client when forwarding GSS-API wrapped messages. If unset, the module uses `host` as the base name. The actual service principal is constructed by appending `@` and the hostname that follows the `:omgssapi:` selector in legacy configurations. In legacy syntax this is configured with `$GssForwardServiceName rsyslog`.

## Module usage

    module(load="omgssapi" gssForwardServiceName="rsyslog")
    action(type="omgssapi" target="receiver.mydomain.com")

### Legacy names (for reference)

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

- $GssForwardServiceName — maps to GssForwardServiceName (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.