Skip to content

Commit

Permalink
Fix copy_values processor documentation (#6630)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
charlesardsilva authored Mar 12, 2024
1 parent 2f42ef5 commit 09f00d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
| `from_key` | Yes | The key of the entry to be copied. |
| `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

Expand Down

0 comments on commit 09f00d3

Please sign in to comment.