path

Sets the JSON path where parsed elements are stored.

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

Name:

path

Scope:

action

Type:

word

Default:

action=$!

Required?:

no

Introduced:

at least 6.1.2, possibly earlier

Description

Specifies the JSON path under which parsed elements should be placed. By default, all parsed properties are merged into root of message properties. You can place them under a subtree, instead. You can place them in local variables, also, by setting path="$.".

Action usage

action(type="mmnormalize" path="$!subtree")

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.