How Do I Set the Numbers of Index Copies to 0 in Batches?

  1. Log in to the Kibana page of the cluster. In the navigation pane, choose Dev Tools.

  2. Modify and run the PUT /*/_settings{"number_of_replicas":0} command.

    Note

    Do not directly run the preceding command, because the asterisk (*) may match security indexes. You are advised to specify the index required for the batch operation. Example: PUT /test*/_settings{"number_of_replicas":0}