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

[Fleet] Improve error handling for invalid ingest pipelines in YAML format #64739

Open
skh opened this issue Apr 29, 2020 · 2 comments
Open

[Fleet] Improve error handling for invalid ingest pipelines in YAML format #64739

skh opened this issue Apr 29, 2020 · 2 comments
Labels
Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project research Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@skh
Copy link
Contributor

skh commented Apr 29, 2020

As we have made improvements and changes in this area, this issue is to research what happens now when Fleet attempts to install an invalid pipeline - do we fail gracefully and log an error?


Currently, when a package contains an ingest pipeline that is not accepted by Elasticsearch, EPM fails with an unhelpful error message.

This task is to improve the error message in a way that the user has a chance to understand what went wrong in the first place.

The underlying reason here is that the error we get from Elasticsearch is unhelpful, but we should at least catch it more gracefully, and point out that the ingest pipeline might be invalid.

See also #63726 & #72519 (comment)

@skh skh added Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team labels Apr 29, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Feature:EPM)

@jen-huang jen-huang changed the title [EPM] Improve error handling for invalid ingest pipelines in YAML format [Fleet] Improve error handling for invalid ingest pipelines in YAML format Apr 28, 2021
@jen-huang jen-huang added research and removed v7.11.0 Team:Fleet Team label for Observability Data Collection Fleet team labels Apr 28, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 28, 2021
@jen-huang jen-huang added Team:Fleet Team label for Observability Data Collection Fleet team and removed needs-team Issues missing a team label labels Apr 28, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project research Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

5 participants