-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update options and add more examples for add_entries processor #7412
Conversation
Signed-off-by: Hai Yan <[email protected]>
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
Signed-off-by: Naarcha-AWS <[email protected]>
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
Signed-off-by: Naarcha-AWS <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Naarcha-AWS @oeyh Please see my comments and changes and tag me on the revision to line 200 for approval. Thanks!
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
|
||
If `overwrite_if_key_exists` is not set to `true`, the input event will not be changed after going through the processor. | ||
|
||
### Example: Append to existing entries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add the noun? Append what to existing entries?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@natebower We can say "Append values to existing entries".
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
|
||
### Example: Append to existing entries | ||
|
||
The following example shows how you can configure the processor to overwrite existing entries: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this may be a copy and paste from the previous section. Should it read "The following example shows you how to configure the processor to append [noun] to existing entries"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. We can say "...configure the processor to append values to existing entries".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edited my suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oeyh @Naarcha-AWS LGTM with noted changes. Thanks!
_data-prepper/pipelines/configuration/processors/add-entries.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]>
* Update options and add more examples Signed-off-by: Hai Yan <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * A few small edits * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> --------- Signed-off-by: Hai Yan <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Co-authored-by: Naarcha-AWS <[email protected]> Co-authored-by: Nathan Bower <[email protected]> (cherry picked from commit 509d8f0) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…earch-project#7412) * Update options and add more examples Signed-off-by: Hai Yan <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * A few small edits * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> --------- Signed-off-by: Hai Yan <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Co-authored-by: Naarcha-AWS <[email protected]> Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: [email protected] <[email protected]>
…earch-project#7412) * Update options and add more examples Signed-off-by: Hai Yan <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * A few small edits * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> --------- Signed-off-by: Hai Yan <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Co-authored-by: Naarcha-AWS <[email protected]> Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Sander van de Geijn <[email protected]>
Description
append_if_key_exists
optionkey
optionIssues Resolved
Closes #7411
Version
Data Prepper latest
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.