jsonRoot

Sets the JSON root container where parsed structured data is stored.

This parameter applies to mmpstrucdata: RFC5424 structured data parsing module.

Name:

jsonRoot

Scope:

action

Type:

string

Default:

action=”!”

Required?:

no

Introduced:

7.5.4

Description

Specifies into which JSON container the module writes its structured-data object. The object member name below this root is controlled by container.

Action usage

action(type="mmpstrucdata" jsonRoot="!")

YAML usage

actions:
  - type: mmpstrucdata
    jsonRoot: "!"

See also

See also mmpstrucdata: RFC5424 structured data parsing module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.