From 06f71837f0e66a8d70747f2080f9ae7702860934 Mon Sep 17 00:00:00 2001 From: gaobinlong Date: Fri, 26 Apr 2024 04:47:33 +0800 Subject: [PATCH] Rename ingest processor supports overriding target field if exists (#6988) * Rename ingest processor supports overriding target field if exists Signed-off-by: gaobinlong * Update rename.md Doc review complete. Signed-off-by: Melissa Vagi * Update rename.md Signed-off-by: Melissa Vagi * Update rename.md Signed-off-by: Melissa Vagi --------- Signed-off-by: gaobinlong Signed-off-by: Melissa Vagi Co-authored-by: Melissa Vagi --- _ingest-pipelines/processors/rename.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_ingest-pipelines/processors/rename.md b/_ingest-pipelines/processors/rename.md index d839c1a213..a3ea14fa2b 100644 --- a/_ingest-pipelines/processors/rename.md +++ b/_ingest-pipelines/processors/rename.md @@ -34,6 +34,7 @@ The following table lists the required and optional parameters for the `rename` `field` | Required | The field name containing the data to be removed. Supports [template snippets]({{site.url}}{{site.baseurl}}/ingest-pipelines/create-ingest/#template-snippets). | `target_field` | Required | The new name of the field. Supports [template snippets]({{site.url}}{{site.baseurl}}/ingest-pipelines/create-ingest/#template-snippets). | `ignore_missing` | Optional | Specifies whether the processor should ignore documents that do not contain the specified `field`. If set to `true`, the processor does not modify the document if the `field` does not exist. Default is `false`. | +`override_target` | Optional | Determines what happens when `target_field` exists in the document. If set to `true`, the processor overwrites the existing `target_field` value with the new value. If set to `false`, the existing value remains and the processor does not overwrite it. Default is `false`. | `description` | Optional | A brief description of the processor. | `if` | Optional | A condition for running the processor. | `ignore_failure` | Optional | Specifies whether the processor continues execution even if it encounters an error. If set to `true`, failures are ignored. Default is `false`. |