Dear Wazuh Support Team,
I am encountering a critical issue with Wazuh Dashboards on our server. The service fails to start with the following fatal error: FATAL {"error":{"root_cause":[{"type":"validation_exception","reason":"Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"}],"type":"validation_exception","reason":"Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"},"status":400}
As a result, I am unable to access the Wazuh Dashboards, and running:Thank you in advance for your support.
Best regards,
Hi,
As you mentioned, the issue you're facing is related to the shard limit being reached, and to resolve it, you'll need to delete old shards from the Wazuh indexer. Since your Wazuh dashboard is currently down, you won't be able to delete old indices through the dashboard. Therefore, you'll need to run the necessary commands from the backend.
Regarding the curl command you executed, there is a mistake in your command, which is why the output appears as it does.
Once the Wazuh dashboard is back online, consider applying an ILM (Index Lifecycle Management) policy to automatically delete old indices. This will help prevent similar issues in the future.
You can refer to the Wazuh documentation on ILM policies for detailed configuration guidance.
Dear Team,
I would like to ask for guidance on the following:
Is it possible to download the Wazuh indices (log data) from the server and store them locally on my machine?
If yes, what is the recommended method or tool to perform this export securely and efficiently?
Once the indices are downloaded, how can I view or analyze those logs locally using Wazuh tools or alternatives?
For example, can I import them into Wazuh visualize the data?