You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/enrich-processor/append-processor.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ $$$append-options$$$
17
17
|`value`| yes*| - | The value to be appended. Supports [template snippets](docs-content://manage-data/ingest/transform-enrich/ingest-pipelines.md#template-snippets). May specify only one of `value` or `copy_from`. |
18
18
|`copy_from` {applies_to}`stack: ga 9.2`| no | - | The origin field which will be appended to `field`, cannot set `value` simultaneously. |
19
19
|`allow_duplicates`| no | true | If `false`, the processor does not appendvalues already present in the field. |
20
-
| `ignore_empty_values` {applies_to}`stack: ga 9.2` | no | false | If `true`, the processor does not append values that resolve `null` or an empty strings.
21
-
|`Media_type`| no |`application/json`| The media type for encoding `value`. Applies only when `value` is a [template snippet](docs-content://manage-data/ingest/transform-enrich/ingest-pipelines.md#template-snippets). Must be one of `application/json`, `text/plain`, or`application/x-www-form-urlencoded`. |
20
+
| `ignore_empty_values` {applies_to}`stack: ga 9.2` | no | false | If `true`, the processor does not append values that resolve to `null` or an empty string.
21
+
|`media_type`| no |`application/json`| The media type for encoding `value`. Applies only when `value` is a [template snippet](docs-content://manage-data/ingest/transform-enrich/ingest-pipelines.md#template-snippets). Must be one of `application/json`, `text/plain`, or`application/x-www-form-urlencoded`. |
22
22
|`description`| no | - | Description of the processor. Useful for describing the purpose of the processor or its configuration. |
23
23
|`if`| no | - | Conditionally execute the processor. See [Conditionally run a processor](docs-content://manage-data/ingest/transform-enrich/ingest-pipelines.md#conditionally-run-processor). |
24
24
|`ignore_failure`| no |`false`| Ignore failures for the processor. See [Handling pipeline failures](docs-content://manage-data/ingest/transform-enrich/ingest-pipelines.md#handling-pipeline-failures). |
@@ -29,7 +29,7 @@ $$$append-options$$$
29
29
30
30
### Simple example [append-processor-simple-example]
31
31
32
-
Here is an that adds the string `"production"` as well as the values of the `app` and `owner` fields to the `tags` field:
32
+
Here is an `append` processor definition that adds the string `"production"` as well as the values of the `app` and `owner` fields to the `tags` field:
33
33
34
34
```js
35
35
{
@@ -40,13 +40,13 @@ Here is an that adds the string `"production"` as well as the values of the `app
40
40
}
41
41
```
42
42
43
-
### Example using `allow_duplicates` and `ignore_empty_values`
43
+
### Example using `allow_duplicates` and `ignore_empty_values`[append-processor-example-using-allow-duplicates-and-ignore-empty-values]
44
44
45
45
```{applies_to}
46
46
stack: ga 9.2
47
47
```
48
48
49
-
By using `allow_duplicates` and `ignore_empty_values`, it is possible to only append the `host.name` to the `related.hosts` if the `host.name` is not empty and if the value not already present in `related.hosts`:
49
+
By using `allow_duplicates` and `ignore_empty_values`, it is possible to only append the `host.name` to the `related.hosts` if the `host.name` is not empty and if the value is not already present in `related.hosts`:
0 commit comments