ELK version: 5.5.1
I referred to this page https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-update-settings.html and changed a index's number of replica, and it worked, but how to add it to the config file to make it valid for all new indices?
Referred to this page https://www.elastic.co/guide/en/elasticsearch/reference/5.5/index-modules.html#dynamic-index-settings , I add
index.number_of_shards: 7 index.number_of_replicas: 2
elasticsearch.yml, but it didn't work...ES can't startup...