# Change the size of an index that has already been created

**URL:** <https://discuss.elastic.co/t/change-the-size-of-an-index-that-has-already-been-created/215105>\
**Category:** Elasticsearch\
**Created:** [January 15, 2020, 9:47am UTC](https://discuss.elastic.co/t/change-the-size-of-an-index-that-has-already-been-created/215105 "2020-01-15T09:47:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabbar](https://avatars.discourse-cdn.com/v4/letter/g/bc8723/32.png) [@gabbar](https://discuss.elastic.co/u/gabbar)\
**Post date:** [January 15, 2020, 9:47am UTC](https://discuss.elastic.co/t/change-the-size-of-an-index-that-has-already-been-created/215105/1 "2020-01-15T09:47:49Z")

</div>

Hello,  
I'm pretty a newbie with ES and I've created an index that's too big for my purposes, therefore I'd like to limit it's growth to a more reasonable value (which also doesn't make my storage collapse).

I've already fixed the template but I'm not able to find a way to change the max size of the index itself.

Do you have any suggestion?

Thanks!

---

<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:** [January 15, 2020, 10:02am UTC](https://discuss.elastic.co/t/change-the-size-of-an-index-that-has-already-been-created/215105/2 "2020-01-15T10:02:39Z")

</div>

Welcome!

There is no way to limit the size of an index and reject any new coming index requests once the size has been reached.  
But there is the [ILM feature](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-lifecycle-management.html) that could probably help you solving the use case you want to solve.

---

<div class="post-metadata">

**Author:** ![gabbar](https://avatars.discourse-cdn.com/v4/letter/g/bc8723/32.png) [@gabbar](https://discuss.elastic.co/u/gabbar)\
**Post date:** [January 15, 2020, 10:58am UTC](https://discuss.elastic.co/t/change-the-size-of-an-index-that-has-already-been-created/215105/3 "2020-01-15T10:58:19Z")

</div>

Hello David,

thank you for the suggestion, I'll take a look and try to fix the issue with the ILM.

Kind 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:** [February 12, 2020, 10:58am UTC](https://discuss.elastic.co/t/change-the-size-of-an-index-that-has-already-been-created/215105/4 "2020-02-12T10:58:24Z")

</div>

Closed on February 12, 2020, 10:58am UTC

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