# PreserveCase

Controls whether the case of fromhost is preserved.

This parameter applies to imtcp: TCP Syslog Input Module.

Name:

  PreserveCase

Scope:

  module, input

Type:

  boolean

Default:

  module=on, input=module parameter

Required?:

  no

Introduced:

  8.37.0

## Description

This parameter is for controlling the case in fromhost. If preservecase is set to “off”, the case in fromhost is not preserved. E.g., ‘host1.example.org’ the message was received from ‘Host1.Example.Org’. Default to “on” for the backward compatibility.

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

## Module usage

    module(load="imtcp" preserveCase="off")

## Input usage

    input(type="imtcp" port="514" preserveCase="off")

## 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.