How to disable replicas for existing indices


we are using elastic search for logging purpose and don't want to have replicas=1 for every primary index. It is ok to have replicas=0 for our environment as logs are not critical.

how to disable replicas=0 permanently? Tried via API but in few days replicas back to 1 again

what is the right procedure to put replicas=0 for every index currentl in our cluster?

You can define this in an index template. Search for index template in the documentation.

Thanks. Reading the documentation and seems to be a good feature

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.