curl -k -u USERNAME:PASSWORD -XPUT ELASTICSEARCH_HOST_ADDRESS/_cluster/settings -H "Content-Type: application/json" \
-d '{ "persistent": { "cluster.max_shards_per_node": "MAX_SHARDS_PER_NODE" } }'
Is it possible to use a similar command in the Wazuh dashboard's devtools?
Another question about shards: How can I determine if increasing the number of shards will cause performance issues?
Limits the total number of primary and replica shards for the cluster.
It only apply to actions which create shards and do not limit the number of shards assigned to each node.