Fix copy_values processor documentation (#6630)

The documentation of copy-values has a mistake, the property overwrite_if_to_key_exists used on example is different from the property in the table.

In the source code the correct value is `overwrite_if_to_key_exists`

Signed-off-by: charlesardsilva <charlesardsilva@gmail.com>
This commit is contained in:
charlesardsilva 2024-03-12 14:31:50 -03:00 committed by GitHub
parent 2f42ef540c
commit 09f00d3aa7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ You can configure the `copy_values` processor with the following options.
| `entries` | Yes | A list of entries to be copied in an event. | | `entries` | Yes | A list of entries to be copied in an event. |
| `from_key` | Yes | The key of the entry to be copied. | | `from_key` | Yes | The key of the entry to be copied. |
| `to_key` | Yes | The key of the new entry to be added. | | `to_key` | Yes | The key of the new entry to be added. |
| `overwrite_if_key_exists` | No | When set to `true`, the existing value is overwritten if `key` already exists in the event. The default value is `false`. | | `overwrite_if_to_key_exists` | No | When set to `true`, the existing value is overwritten if `key` already exists in the event. The default value is `false`. |
## Usage ## Usage