# container

Defines the JSON container path that holds mmdarwin’s generated data.

This parameter applies to Darwin connector (mmdarwin).

Name:

  container

Scope:

  module

Type:

  word

Default:

  module=”!mmdarwin”

Required?:

  no

Introduced:

  8.2008.0

## Description

Set the JSON container path that mmdarwin uses when it writes Darwin metadata and response values back to the message. The container string must begin with `"!"` or `"."` so the path resolves to either the structured data in the message or a local variable tree.

If no value is configured, mmdarwin stores data under `"!mmdarwin"`. The module prefixes this container to the target specified by key and to the generated `"darwin_id"` field that tracks the request UUID. As a result, selecting a custom container lets you control where the Darwin score and identifier are recorded.

## Module usage

    module(load="mmdarwin" container="!darwin")
    action(type="mmdarwin" key="certitude")

## See also

See also Darwin connector (mmdarwin).

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.