Shards on Kubernets

Hi, I have 12 Node Elastic Container running on, but issue is it's having 1 shard for each new data Set I tried to update using below command.

curl -XPUT "http://IPAddress:PortNumber/_all/_settings?" -H 'Content-Type: application/json' -d' {"index.number_of_replicas" : "1","index.number_of_shards" : "4"}'

but it didn't work. Any help/hint appreciated in advance.

Thank You.

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