In my cluster trying to insert message (from filebeat) I get
(status=400): {"type":"illegal_argument_exception","reason":"Validation Failed: 1: this action would add [2] shards, but this cluster currently has [2999]/[3000] maximum normal shards open;"}, dropping event!
looking at the cluster health its looks like it has available shards
"cluster_name" : "elastic", "status" : "yellow", "timed_out" : false, "number_of_nodes" : 4, "number_of_data_nodes" : 1, "active_primary_shards" : 1511, "active_shards" : 1511, "relocating_shards" : 0, "initializing_shards" : 0, "unassigned_shards" : 1488, "delayed_unassigned_shards" : 0, "number_of_pending_tasks" : 1159, "number_of_in_flight_fetch" : 0, "task_max_waiting_in_queue_millis" : 57267, "active_shards_percent_as_number" : 50.3834611537179 any ideas ?