-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Add optional description parameter to ingest processors. #57906
Conversation
This commit adds an optional field, `description`, to all ingest processors so that users can explain the purpose of the specific processor instance. Closes elastic#56000.
Pinging @elastic/es-core-features (:Core/Features/Ingest) |
I still need to do a BWC check. but it is not clear to me how to do this best. simply create a pipeline with processors with a |
I don't think so... the only BWC concern with the changes here are on serialization of the JSON for response to the GET pipeline REST action and read/write from cluster state. The former just delegates to FWIW, I manually tested writing the new description field to cluster state with the code here, and read it back in with master (that does not contain the code here). Because of the general serialization BytesReference and Maps, the description actually displays on the earlier versions that don't support description. |
Did you want to include support for simulate?verbose on this PR ? If not, I have another inflight PR that touches the simulate stuff i can address there. |
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 - as is.
However a minor addition to the 20_crud.yml test would be nice.
thanks @jakelandis! getting to this all now |
I did not think it would be of value to include the |
fyi, the behavior is that a mixed cluster will not allow pipelines with
|
Yeah I'm not sure that this is desirable. With the work being done on the _simulate endpoint I think we will be able to associate a verbose result with a specific processor - and so still have access to the that information for a given response. The tying back from a result to the processor instance, user side, is the important bit. |
thanks @jloleysens, that was helpful! |
@elasticmachine run elasticsearch-ci/bwc |
This commit adds an optional field, `description`, to all ingest processors so that users can explain the purpose of the specific processor instance. Closes elastic#56000.
For ingest node processors a per processor description was recently added. This commit displays that description in the verbose output of the pipeline simulation. related elastic#57906
For ingest node processors a per processor description was recently added. This commit displays that description in the verbose output of the pipeline simulation. related #57906
For ingest node processors a per processor description was recently added. This commit displays that description in the verbose output of the pipeline simulation. related elastic#57906
This commit adds an optional field,
description
, to all ingest processorsso that users can explain the purpose of the specific processor instance.
Closes #56000.