I suspect this is because the index is configured to have a replica on a single node deployment.
For further analysis, share the output of the following command for confirmation:
curl -k -u admin:YOUR_PASSWORD "https://localhost:9200/_cat/indices?v"Or run the following command via the Wazuh dashboard in the indexer dev tools page:
GET /_cat/indices?v
As for the permissions, what user account or method are you using to reduce the number of replicas?
The dev tools page on the dashboard may be useful. This is if you are logged in as the admin user