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

Improve logging on autodiscover recoverable errors #20850

Closed
jsoriano opened this issue Aug 31, 2020 · 1 comment · Fixed by #20915
Closed

Improve logging on autodiscover recoverable errors #20850

jsoriano opened this issue Aug 31, 2020 · 1 comment · Fixed by #20915
Assignees
Labels
autodiscovery bug Team:Platforms Label for the Integrations - Platforms team

Comments

@jsoriano
Copy link
Member

There are some cases where autodiscover configuration fails, but the failure is related to some internal state that is automatically recovered after some retries.

This happens for example with #11834. There filebeat tries to reopen a file that hasn't been completely closed after being used in a previous configuration, and logs errors like this one:

Error creating runner from config: Can only start an input when all related states are finished.

Filebeat automatically recovers from these errors, so they shouldn't be logged at the error level, as this causes confusion when investigating other issues.

@jsoriano jsoriano added bug autodiscovery Team:Platforms Label for the Integrations - Platforms team labels Aug 31, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autodiscovery bug Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants