-
Notifications
You must be signed in to change notification settings - Fork 187
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
Use elasticsearch index.auto_expand_replicas for wazuh app indices #1648
Comments
Hi @epol , You are fully right, however, we are working on a new way to manage the data from Next versions will do a soft deprecation for those indices, instead, the app will use a registry file for storing the information of For the For the Regards, |
Hi @jesusgn90 , thank you for your feedback. Do you have any pointer to this new way to manage data? (maybe an issue) What I would like to understand is how would this interact with multiple instances of kibana running on different servers, with the current configuration all instances would share the Regards, |
Hi @epol,
Sure, take a look at #1465 which is still under development, and #1467 which is closed now (we've added more commits after closing it because we've found some errors testing it).
Yes, that's a good question. We did something similar in the past for the monitoring indices as you can see here. That's said, we may want to replicate a similar logic for this use case and we'll study it. Regards, |
Hi @epol, Since the last release of Wazuh 3.11.0, the Finally, we still have to add optional settings to our If you have any other questions, problems or suggestions do not hesitate to open a new issue. I'm closing this one for now. Regards, |
Describe the solution you'd like
I think it would be nice if by default service indices (
wazuh-monitoring-3.x-*
,.wazuh
and.wazuh-version
) are created with the settingindex.auto_expand_replicas
set to0-1
. This automates the expansion of the number of replicas of a index as a function of the number of data nodes in a cluster.This would on one hand ensure data availability in case of a multi (data) node setup while keeping the cluster state green in single node setups.
Another possibility would be to use the value
0-all
at least for the.wazuh
index (since it contains the API credentials) in order to ensure the best availability. I leave to you the evaluation of this possibility.Describe alternatives you've considered
Configuring the
config.yml
file is for sure a valid alternative, but it may not be very straightfoward for new users and the default replica value is0
(that may cause some issue when a data node fails).Additional context
Elasticsearch documentation for the requested feature: Index modules. Browsing the older releases you can see that it was already supported in Elasticsearch 6.8 (so it can be implemented in both versions of the plugin)
The text was updated successfully, but these errors were encountered: