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

Please add reload_on_failure true and reload_connections false to elasticsearch plugin #117

Closed
imriss opened this issue Jul 31, 2019 · 4 comments
Assignees

Comments

@imriss
Copy link

imriss commented Jul 31, 2019

Is your feature request related to a problem? Please describe.
I am facing the read timeout reached error:

2019-07-31 13:18:45 +0000 [warn]: #0 failed to flush the buffer. retry_time=39 next_retry_seconds=2019-07-31 13:19:17 +0000 chunk="58ef9d0d26d38d31e2579a76d7b3ad21" error_class=Fluent::Plugin::ElasticsearchOutput::RecoverableRequestFailure error="could not push logs to Elasticsearch cluster ({:host=>\"elasticsearch-elasticsearch-cluster.default\", :port=>9200, :scheme=>\"https\"}): read timeout reached"

In here and here, it is suggested to add the following to the output config to resolve the issue:

reconnect_on_error true
reload_on_failure true
reload_connections false

The reconnect_on_error true is already there, but reload_on_failure and reload_connections are missing.

Describe the solution you'd like
Please add reload_on_failure true and reload_connections false to the elasticsearch plugin

Describe alternatives you've considered
N/A

Additional context
N/A

@pepov
Copy link
Member

pepov commented Aug 1, 2019

Hi, my bad, I should have added all the plugin parameters in the previous release. Will add all options soon.

@pepov pepov self-assigned this Aug 1, 2019
@imriss
Copy link
Author

imriss commented Aug 1, 2019

Hi, thanks. After redeploying everything, the error disappeared for now.

@pepov
Copy link
Member

pepov commented Aug 1, 2019

Glad to hear, then I don't have to hurry with adding the missing params. Will add those with the following release though, just not sure when it will happen.

@tarokkk
Copy link
Contributor

tarokkk commented Sep 18, 2019

Logging-operator v2 is out and all the attributes are accessible for Elasticsearch

@tarokkk tarokkk closed this as completed Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants