# ipv4.replaceChar

Sets the character used to overwrite anonymized IPv4 octets in simple mode.

This parameter applies to IP Address Anonymization Module (mmanon).

Name:

  ipv4.replaceChar

Scope:

  input

Type:

  character

Default:

  input=x

Required?:

  no

Introduced:

  7.3.7

## Description

In simple mode, this sets the character that the to-be-anonymized part of the IP address is to be overwritten with. In any other mode the parameter is ignored if set.

## Input usage

    module(load="mmanon")
    action(type="mmanon" ipv4.mode="simple" ipv4.replaceChar="*")

### Legacy names (for reference)

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

- replacementchar — maps to ipv4.replacechar (status: legacy)

## See also

IP Address Anonymization Module (mmanon)

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.