This will mainly depend on your environment and your need to retain old logs.
To add more information to the answer you shared, you can check this guide: https://documentation.wazuh.com/current/user-manual/wazuh-indexer/wazuh-indexer-tuning.html#shards-and-replicas, which explains shards and replicas. Please review it before making any changes.
On the other hand, before modifying the shards, I would recommend checking if you have any log rotation policies applied to reduce the space occupied by old logs. https://documentation.wazuh.com/current/user-manual/wazuh-indexer-cluster/index-lifecycle-management.html
--
You received this message because you are subscribed to a topic in the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wazuh/1lRSSbbTgZY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/850f9457-68f0-4d85-aa50-50fb9c27a1a2n%40googlegroups.com.
Increasing the shard limit is not recommended because it can affect the tool's performance. While you can increase the limit, keep this in mind when making your decision.
Our recommendation is to use an ISM policy and reduce the number of shards instead of increasing it. An ISM policy serves many purposes, not just deletion. If you still need to keep that data, you can simply merge old indexes. For example, instead of having one daily index with three shards each, merge them into one monthly index with one shard, freeing up 3 x 30 - 1 = 89 shards for just one month's data, while still having the information available.