-
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
Remove ingest processor supports excluding fields #6244
Conversation
Signed-off-by: gaobinlong <[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.
@gaobinlong Please see the doc review edits. I'll move this into editorial once changes are made. Thank you!
Signed-off-by: Melissa Vagi <[email protected]>
Signed-off-by: Melissa Vagi <[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.
@vagimeli Just one comment. Thanks!
@@ -30,7 +30,8 @@ The following table lists the required and optional parameters for the `remove` | |||
|
|||
| Parameter | Required/Optional | Description | | |||
|---|---|---| | |||
`field` | Required | The name of the field containing the data to be removed. Supports [template snippets]({{site.url}}{{site.baseurl}}/ingest-pipelines/create-ingest/#template-snippets). The following metadata fields are not allowed to be removed: `_index`, `_version`, `_version_type`, and `_id`. Note that `_id` is not allowed to be removed when there's a specified external version for the ingesting document. | | |||
`field` | Optional | The field name containing the data to be removed. Supports [template snippets]({{site.url}}{{site.baseurl}}/ingest-pipelines/create-ingest/#template-snippets). The following metadata fields cannot be removed: `_index`, `_version`, `_version_type`, and `_id`. If a version is specified for the ingesting document, the `_id` cannot be removed. | |
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.
As written, "ingesting document" implies that the document is ingesting something. Is this accurate, or should we reword?
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.
Revised: The metadata fields
_index,
_version,
_version_type, and
_idcannot be removed. If
versionis specified,
_id cannot be removed from the ingested document.
Description
The remove ingest processor will support excluding fields in version 2.12.0, a new parameter
exclude_filed
is added to that processor, this PR updates the remove processor's document to add the parameter.Issues Resolved
Fixes #5918
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.