I have 3 node cluster. had a configuration in elastic search yml as below
index.number_of_replicas: 2 (1 is primary, 2 replica so totally 3 node cluster)
index.number_of_shards: 3 (3 node cluster)
But Still my cluster is in RED, with unassigned index
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 3,
"number_of_data_nodes" : 3,
"active_primary_shards" : 168,
"active_shards" : 266,
"relocating_shards" : 0,
"initializing_shards" : 2,
"unassigned_shards" : 13,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 94.66192170818505
Please help me to resolve this.
Did I missing any other config