logstash报错this action would add [2] total shards, but this cluster currently has [1000]/[1000] maximum shards open

起因 kibana中发现从某个时间之后就没有elasticsearch中的日志,通过logstash日志看到不停有报错产生 意思是ES当前最大的分片数只有1000,并且已经占用满了,但是此时ES创建新索引时还需 …