# input

Names the JSON property that supplies the tree to rewrite.

This parameter applies to JSON Dotted Key Rewriter (mmjsonrewrite).

Name:

  input

Scope:

  input

Type:

  string

Default:

  none

Required?:

  yes

Introduced:

  8.2410.0

## Description

Specifies which message property contains the JSON object that will be normalized. The value must be a property reference that begins with `$` (for example `$!raw` or `$.structured`). `mmjsonrewrite` validates the expression at load time and rejects other prefixes.

If the property is absent at runtime, the action returns without altering the message. When the property exists but does not resolve to a JSON object, the module logs an error and the action fails without creating the output tree.

## Input usage

    action(type="mmjsonrewrite" input="$!raw" output="$!structured")

## See also

See also the main mmjsonrewrite module documentation.

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.