Append processoredit
Appends one or more values to an existing array if the field already exists and it is an array. Converts a scalar to an array and appends one or more values to it if the field exists and it is a scalar. Creates an array containing the provided values if the field doesn’t exist. Accepts a single value or an array of values.
Table 3. Append Options
Name | Required | Default | Description |
---|---|---|---|
|
yes |
- |
The field to be appended to. Supports template snippets. |
|
yes |
- |
The value to be appended. Supports template snippets. |
|
no |
true |
If |
|
no |
|
The media type for encoding |
|
no |
- |
Description of the processor. Useful for describing the purpose of the processor or its configuration. |
|
no |
- |
Conditionally execute the processor. See Conditionally run a processor. |
|
no |
|
Ignore failures for the processor. See Handling pipeline failures. |
|
no |
- |
Handle failures for the processor. See Handling pipeline failures. |
|
no |
- |
Identifier for the processor. Useful for debugging and metrics. |
{ "append": { "field": "tags", "value": ["production", "{{{app}}}", "{{{owner}}}"] } }