Skip to content
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

Unify Elasticsearch error message processing/formatting in SearchSource to provided unified experience across Kibana #62868

Closed
nreese opened this issue Apr 7, 2020 · 2 comments
Labels
Feature:Search Querying infrastructure in Kibana impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort

Comments

@nreese
Copy link
Contributor

nreese commented Apr 7, 2020

Failed search source requests throw an Error. The raw Elasticsearch failure message is available under error.body.message and error.body.attributes.

Different plugins handle displaying the Elasticsearch failure message in different ways. Plugins like Discover have helper methods that format the Elasticsearch error into more friendly messages, for example: https://github.com/elastic/kibana/blob/7.7/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/get_painless_error.ts.

It would be really helpful if SearchSource provided these types of services and unified the processing/formatting of Elasticsearch errors. SearchSource Error object could then be used by SearchSource consumers to provide a common way to expose Elasticsearch error messages to users.

@lukasolson lukasolson added Feature:Search Querying infrastructure in Kibana Team:AppArch labels Apr 7, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@exalate-issue-sync exalate-issue-sync bot added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Jun 2, 2021
@exalate-issue-sync exalate-issue-sync bot added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort and removed impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels May 19, 2022
@ppisljar
Copy link
Member

Thank you for contributing to this issue, however, we are closing this issue due to inactivity as part of a backlog grooming effort. If you believe this feature/bug should still be considered, please reopen with a comment.

@ppisljar ppisljar closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Search Querying infrastructure in Kibana impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort
Projects
None yet
Development

No branches or pull requests

4 participants