-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
elasticsearch input: ability to get base cluster health information without querying for indices health #3269
Conversation
Any thoughts? |
There is a bit of overlap with an existing pull request #2872, can you remove the I feel that the url generation is too confusing, partially because of the current design. It needs to be made more straightforward and shouldn't cache the partial result |
@danielnelson thanks for pointing out the existing PR situation regarding Elasticsearch. We desperately need the I did the Other than that, there should not be too much overlap with the PR you mentioned, right? And: What is the schedule regarding all these fixes for the Elasticsearch plugin? |
Actually, I think I confused indices_health ( We can talk about this more on the new PR but, one issue I have is with the dependency of boolean config variables on each other, when using boolean options they should be independant:
To avoid this confusion about when
It will be a little trickier because we need to preserve backwards compatibility, so if the list is nil it should default to "indices", but if it is defined it will be none.
I agree this is how we want it in the config. I would start by just not caching it at all, it is not that much work in the grand scheme of things, if it ends up being a hotspot we can fix it later. |
…ithout querying for indices health
Thanks for the feedback, @danielnelson. I split this into this PR and #3304. |
Thanks! |
We found that the plugin generates a lot of data and also makes Elasticsearch work quite hard to generate the data (in some cases not necessary, if you are not interested in all the data).
New configurability:
Required for all PRs: