# Is it possible to move an ES index across clusters with different shard count?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-move-an-es-index-across-clusters-with-different-shard-count/64798>\
**Category:** Elasticsearch\
**Created:** [November 3, 2016, 5:24am UTC](https://discuss.elastic.co/t/is-it-possible-to-move-an-es-index-across-clusters-with-different-shard-count/64798 "2016-11-03T05:24:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RaviSidhu](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@RaviSidhu](https://discuss.elastic.co/u/RaviSidhu)\
**Post date:** [November 3, 2016, 5:24am UTC](https://discuss.elastic.co/t/is-it-possible-to-move-an-es-index-across-clusters-with-different-shard-count/64798/1 "2016-11-03T05:24:40Z")

</div>

Hi,

I processed some logs using logstash and pushed it to an ES cluster. I want to move the index to a different cluster, but the shard count is different across the two clusters. Is it possible to move the existing index and let it pick up the new shard structure? From what I understand the index moved might retain the configuration from the original cluster.

Any guidance is much appreciated.

Best regards,  
Ravinder

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 3, 2016, 5:27am UTC](https://discuss.elastic.co/t/is-it-possible-to-move-an-es-index-across-clusters-with-different-shard-count/64798/2 "2016-11-03T05:27:51Z")

</div>

Shards are an index concept, not a cluster one. So if you move it it'll keep it's old count, but you don't need to worry about it.

---

<div class="post-metadata">

**Author:** ![RaviSidhu](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@RaviSidhu](https://discuss.elastic.co/u/RaviSidhu)\
**Post date:** [November 3, 2016, 5:46am UTC](https://discuss.elastic.co/t/is-it-possible-to-move-an-es-index-across-clusters-with-different-shard-count/64798/3 "2016-11-03T05:46:30Z")

</div>

Thank you, Mark!  
I could be wrong, but I think it might impact the performance with the old configuration in place. The thing is that the size of the index might exceed what could be supported by the present cluster configuration (8 shards). I needed to add space to the cluster. And the thought of setting up a new cluster and moving the existing index to the new cluster crossed my mind. Do you think there are options that I might not be aware of?

P.S: I am a novice in ES.

Best regards,  
Ravinder

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 3, 2016, 5:48am UTC](https://discuss.elastic.co/t/is-it-possible-to-move-an-es-index-across-clusters-with-different-shard-count/64798/4 "2016-11-03T05:48:03Z")

</div>

There is no impact that having different numbers of shards for different indices will have.

---

<div class="post-metadata">

**Author:** ![RaviSidhu](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@RaviSidhu](https://discuss.elastic.co/u/RaviSidhu)\
**Post date:** [November 3, 2016, 5:48am UTC](https://discuss.elastic.co/t/is-it-possible-to-move-an-es-index-across-clusters-with-different-shard-count/64798/5 "2016-11-03T05:48:56Z")

</div>

This is a big help. Thank you so much!

Best regards,

---

<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:** [July 5, 2017, 10:07pm UTC](https://discuss.elastic.co/t/is-it-possible-to-move-an-es-index-across-clusters-with-different-shard-count/64798/6 "2017-07-05T22:07:03Z")

</div>


