# ServerStreamDriverMode

Accepts a numeric stream driver mode value, but imdiag forces the plain TCP driver so the setting is ignored.

This parameter applies to imdiag: Diagnostic instrumentation.

Name:

  ServerStreamDriverMode

Scope:

  input

Type:

  integer

Default:

  input=0

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

Provides the mode number consumed by the selected network stream driver. imdiag always uses the plain TCP (`ptcp`) stream driver, which does not act on the provided mode value. The parameter remains available for configuration compatibility and possible future extensions, but it does not alter behavior in current releases.

## Input usage

    module(load="imdiag")
    input(type="imdiag"
          listenPortFileName="/var/run/rsyslog/imdiag.port"
          serverStreamDriverMode="1"
          serverRun="19998")

### Legacy names (for reference)

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

- $IMDiagServerStreamDriverMode — maps to ServerStreamDriverMode (status: legacy)

## See also

See also imdiag: Diagnostic instrumentation.

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.