-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Ingest pipelines] add support for fingerprint processor #100541
[Ingest pipelines] add support for fingerprint processor #100541
Conversation
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
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 for adding this @sabarasaba.
The help text for Target field and Ignore missing require some changes. I also left some minor suggestions for a few other fields. After those are addressed, I'll take another look.
.../application/components/pipeline_editor/components/processor_form/processors/fingerprint.tsx
Show resolved
Hide resolved
.../application/components/pipeline_editor/components/processor_form/processors/fingerprint.tsx
Outdated
Show resolved
Hide resolved
.../application/components/pipeline_editor/components/processor_form/processors/fingerprint.tsx
Show resolved
Hide resolved
.../application/components/pipeline_editor/components/processor_form/processors/fingerprint.tsx
Outdated
Show resolved
Hide resolved
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. Thanks again @sabarasaba.
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 for adding support for the fingerprint
processor! Looks great. I left a couple minor comments in the code. Let me know what you think.
.../application/components/pipeline_editor/components/processor_form/processors/fingerprint.tsx
Outdated
Show resolved
Hide resolved
.../application/components/pipeline_editor/components/processor_form/processors/fingerprint.tsx
Show resolved
Hide resolved
...lines/public/application/components/pipeline_editor/__jest__/processors/fingerprint.test.tsx
Outdated
Show resolved
Hide resolved
...lines/public/application/components/pipeline_editor/__jest__/processors/fingerprint.test.tsx
Show resolved
Hide resolved
@elasticmachine merge upstream |
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 for making the changes @sabarasaba! I left another comment around the implementation for the method
default value. Let me know what you think. I'm going to go ahead and approve to unblock.
method: { | ||
type: FIELD_TYPES.TEXT, | ||
defaultValue: 'SHA-1', | ||
serializer: from.emptyStringToUndefined, |
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 the serializer
will need to be updated as well. If you take a look at the serializer
for sort processor/order parameter linked to above, you'll see we're stripping the default value from the request. I think we should follow the same approach here to be consistent.
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.
uhh, thanks for having a look again @alisonelizabeth! 🙏🏼🙏🏼🙏🏼
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Unknown metric groupsReferences to deprecated APIs
History
To update your PR or re-run it, just comment with: cc @sabarasaba |
* master: (60 commits) [Docs] Index patterns REST API docs (elastic#100549) [Ingest pipelines] add support for fingerprint processor (elastic#100541) ping Core team when renovate bot bumps es client version (elastic#100662) [Maps] Add draw wizard (elastic#100278) Use documentation link service for index pattern field editor (elastic#100609) [Maps] filter dashboard by map extent (elastic#99860) [ftr] migrate screenshots and snapshots services to FtrService class (elastic#100514) fix anomaly functional test (elastic#100504) update breaking changes template to incorporate ES deprecations (elastic#100621) improve default time ranges (elastic#100536) [Gauge] Fixes wrong translations on ranges less than symbol (elastic#100535) [ftr] migrate "globalNav" service to FtrService class (elastic#100604) [ftr] migrate "testSubjects" to FtrService class (elastic#100512) Fix spaces test flakyness (elastic#100605) [Ingest pipelines] add support for ip type in convert processor (elastic#100531) [ftr] migrate "browser" to FtrService class (elastic#100507) [ftr] migrate "find" service to FtrService class (elastic#100509) [telemetry] report config deprecations (elastic#99887) [ftr] migrate "docTable" service to FtrService class (elastic#100595) [ftr] migrate "listingTable" service to FtrService class (elastic#100606) ...
Fixes: #90708
Release Note
The Ingest Node Pipelines UI added support to configure a fingerprint processor. This processor computes a hash based on certain fields of the document’s content.
Default description
New processor fields