-
Notifications
You must be signed in to change notification settings - Fork 11
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
Proposal: Monitoring which indexes are in readonly #30
Comments
That's correct, the index name is not showing. That's the reason why I adjusted the output on the readonly check on _all indices. It would be nice when the plugin shows which indices are set to read only, agree. |
Hi @juanmancebo Thanks for the suggested code! I built it into the branch issue-30. Can you try it please? https://github.com/Napsty/check_es_system/tree/issue-30 Example here:
It only works when the parser is set to A possible suggestion for |
@juanmancebo Were you able to test? |
Hi @Napsty I don't have an ES cluster right now to test this :( |
Abstract
When you want to monitor all readonly indexes you can't see which index(es) is/are in readonly and you have to search it manually.
i.e.
Proposal
If you parse the json you can extract the index(es) that is/are in readonly.
For example with this code snippet you could achieve that with jq. I tried it with the json_parse wrapper but it doesn't work. I guess the wrapper have to be adapted to work.
The text was updated successfully, but these errors were encountered: