# useRawMsg

Uses the raw message instead of just the MSG part during normalization.

This parameter applies to Log Message Normalization Module (mmnormalize).

Name:

  useRawMsg

Scope:

  action

Type:

  boolean

Default:

  action=off

Required?:

  no

Introduced:

  at least 6.1.2, possibly earlier

## Description

Specifies if the raw message should be used for normalization (`on`) or just the MSG part of the message (`off`).

## Action usage

    action(type="mmnormalize" useRawMsg="on")

### Legacy names (for reference)

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

- $mmnormalizeUseRawMsg — maps to useRawMsg (status: legacy)

## See also

See also Log Message Normalization Module (mmnormalize).

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.