# StreamDriver.Mode

Sets the driver mode for the selected network stream driver.

This parameter applies to imtcp: TCP Syslog Input Module.

Name:

  StreamDriver.Mode

Scope:

  module, input

Type:

  integer

Default:

  module=0, input=module parameter

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

Sets the driver mode for the currently selected network stream driver. <number> is driver specific.

The same-named input parameter can override this module setting.

## Module usage

    module(load="imtcp" streamDriver.mode="...")

## Input usage

    input(type="imtcp" port="514" streamDriver.mode="...")

### Legacy names (for reference)

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

- $InputTCPServerStreamDriverMode — maps to StreamDriver.Mode (status: legacy)

## See also

See also imtcp: TCP Syslog Input 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.