# This Action would add \[1\] total shards, but this cluster currently has \[1000\]/\[1000\] maximum shards open

**URL:** <https://discuss.elastic.co/t/this-action-would-add-1-total-shards-but-this-cluster-currently-has-1000-1000-maximum-shards-open/202106>\
**Category:** Elasticsearch\
**Created:** [October 3, 2019, 7:25am UTC](https://discuss.elastic.co/t/this-action-would-add-1-total-shards-but-this-cluster-currently-has-1000-1000-maximum-shards-open/202106 "2019-10-03T07:25:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gnanendra](https://avatars.discourse-cdn.com/v4/letter/g/65b543/32.png) [@Gnanendra](https://discuss.elastic.co/u/Gnanendra)\
**Post date:** [October 3, 2019, 7:25am UTC](https://discuss.elastic.co/t/this-action-would-add-1-total-shards-but-this-cluster-currently-has-1000-1000-maximum-shards-open/202106/1 "2019-10-03T07:25:48Z")

</div>

Hi,

i am created index by using logstash. but i am getting below error  
i am using logstash 7.3.0 and elasticsearch 7.3.0

[2019-10-03T01:04:10,312][WARN][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=\>400, :action=\>["index", {:\_id=\>nil, :\_index=\>"test-2019.03.04", :\_type=\>"\_doc", :routing=\>nil}, #LogStash::Event:0x3d5adf58], :response=\>{"index"=\>{"\_index"=\>"test-2019.03.04", "\_type"=\>"\_doc", "\_id"=\>nil, "status"=\>400, "error"=\>{"type"=\>"validation\_exception", "reason"=\>"Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"}}}}

please help me.

Thanks,  
gnanendra

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 31, 2019, 7:25am UTC](https://discuss.elastic.co/t/this-action-would-add-1-total-shards-but-this-cluster-currently-has-1000-1000-maximum-shards-open/202106/2 "2019-10-31T07:25:49Z")

</div>

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