-
Notifications
You must be signed in to change notification settings - Fork 627
Update documentation for delete_entries and select_entries processors #11476
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 documentation for delete_entries and select_entries processors #11476
Conversation
Signed-off-by: Kennedy Onyia <[email protected]>
…ude_keys_regex feature Signed-off-by: Kennedy Onyia <[email protected]>
|
Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged. Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer. When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review. |
dlvenable
left a comment
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.
Thank you @kennedy-onyia for the documentation update!
Also, check the errors reported by the "Style Check" job.
| the exact keys to delete. To delete keys that match a regular expression pattern, use the `with_keys_regex` field. You can | ||
| prevent deletion of specific events when using regular expressions by configuring the `exclude_from_regex` field. | ||
|
|
||
| To use both `with_keys` and `with_keys_regex` in the same configuration, define them under the `entries` field. |
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.
I think this is a little confusing. Do you mean to say that the pipeline author would need to create two different 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.
lol yes. i'll modify the grammar to make it more clear
… to clarify new features. Signed-off-by: Kennedy Onyia <[email protected]>
dlvenable
left a comment
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.
Thanks @kennedy-onyia !
kolchfa-aws
left a comment
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.
Thank you, @kennedy-onyia! Please see my comments and let me know if you have any questions. Intro sentences for the code have to explain what the user should notice in the results. Thanks!
_data-prepper/pipelines/configuration/processors/delete-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/delete-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/delete-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/delete-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/delete-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/select-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/select-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/select-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/select-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/select-entries.md
Outdated
Show resolved
Hide resolved
…s.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]>
…s.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]>
…s.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]>
…s.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]>
…s.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]>
…s.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]>
…s.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]>
…s.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]>
…s.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]>
…s.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]>
…s.md Signed-off-by: kolchfa-aws <[email protected]>
…s.md Signed-off-by: kolchfa-aws <[email protected]>
…s.md Signed-off-by: kolchfa-aws <[email protected]>
_data-prepper/pipelines/configuration/processors/delete-entries.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/select-entries.md
Outdated
Show resolved
Hide resolved
Signed-off-by: Nathan Bower <[email protected]>
natebower
left a comment
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.
LGTM
…#11476) * Update delete_entries processor to add new features Signed-off-by: Kennedy Onyia <[email protected]> * update select_entries processor documentation to account for new include_keys_regex feature Signed-off-by: Kennedy Onyia <[email protected]> * fix style check errors and include additional pipeline configurations to clarify new features. Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/select-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/select-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/select-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/select-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/select-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Signed-off-by: kolchfa-aws <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Signed-off-by: kolchfa-aws <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Signed-off-by: kolchfa-aws <[email protected]> * Apply suggestions from code review Signed-off-by: Nathan Bower <[email protected]> --------- Signed-off-by: Kennedy Onyia <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> Signed-off-by: Nathan Bower <[email protected]> Co-authored-by: kolchfa-aws <[email protected]> Co-authored-by: Nathan Bower <[email protected]> (cherry picked from commit 1d239cc) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…opensearch-project#11476) * Update delete_entries processor to add new features Signed-off-by: Kennedy Onyia <[email protected]> * update select_entries processor documentation to account for new include_keys_regex feature Signed-off-by: Kennedy Onyia <[email protected]> * fix style check errors and include additional pipeline configurations to clarify new features. Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/select-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/select-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/select-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/select-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/select-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Signed-off-by: kolchfa-aws <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Signed-off-by: kolchfa-aws <[email protected]> * Update _data-prepper/pipelines/configuration/processors/delete-entries.md Signed-off-by: kolchfa-aws <[email protected]> * Apply suggestions from code review Signed-off-by: Nathan Bower <[email protected]> --------- Signed-off-by: Kennedy Onyia <[email protected]> Signed-off-by: Kennedy Onyia <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> Signed-off-by: Nathan Bower <[email protected]> Co-authored-by: kolchfa-aws <[email protected]> Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Arya Soni <[email protected]>
Description
Include the new regex feature in both documentations
Version
All
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.