container¶
Sets the JSON object member name that receives parsed structured data.
This parameter applies to mmpstrucdata: RFC5424 structured data parsing module.
- Name:
container
- Scope:
action
- Type:
string
- Default:
action=”rfc5424-sd”
- Required?:
no
- Introduced:
8.2606.0
Description¶
Specifies the JSON member name below jsonRoot where
parsed RFC5424 structured data is stored. This parameter changes the member
name only; it is not a JSON path. Use jsonRoot to move the parent location.
When an RFC5424 message has no structured data, the module creates this member
with a JSON null value.
Action usage¶
action(type="mmpstrucdata" jsonRoot="$!structured-data" container="sd")
YAML usage¶
actions:
- type: mmpstrucdata
jsonRoot: "$!structured-data"
container: sd
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.