# How to reindex without Reindex API

**URL:** <https://discuss.elastic.co/t/how-to-reindex-without-reindex-api/135074>\
**Category:** Elasticsearch\
**Created:** [June 8, 2018, 3:28am UTC](https://discuss.elastic.co/t/how-to-reindex-without-reindex-api/135074 "2018-06-08T03:28:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sapmp1155](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@Sapmp1155](https://discuss.elastic.co/u/Sapmp1155)\
**Post date:** [June 8, 2018, 3:28am UTC](https://discuss.elastic.co/t/how-to-reindex-without-reindex-api/135074/1 "2018-06-08T03:28:10Z")

</div>

To reduce the number of shards, I changed the configuration file. Now my elasticsearch creates a new index like [indexname]-2018.06.

Next, I need to reindex the existing indices to consolidate into monthly indices. It looks very easy to do if you have a newer elasticsearch. IndexAPI or Curator. But my system is 1.6.0. How can I do?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 8, 2018, 4:33am UTC](https://discuss.elastic.co/t/how-to-reindex-without-reindex-api/135074/2 "2018-06-08T04:33:28Z")

</div>

May be you can use logstash with an elasticsearch input and elasticsearch output.

Or build a script that calls scroll API then bulk API.

But you really need to upgrade to 6.x!

---

<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 6, 2018, 4:33am UTC](https://discuss.elastic.co/t/how-to-reindex-without-reindex-api/135074/3 "2018-07-06T04:33:35Z")

</div>

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