# Max size by index?¿

**URL:** <https://discuss.elastic.co/t/max-size-by-index/206411>\
**Category:** Elasticsearch\
**Created:** [November 4, 2019, 1:16pm UTC](https://discuss.elastic.co/t/max-size-by-index/206411 "2019-11-04T13:16:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Glez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel_glez/32/49944_2.png) [@Daniel\_Glez](https://discuss.elastic.co/u/Daniel_Glez)\
**Post date:** [November 4, 2019, 1:16pm UTC](https://discuss.elastic.co/t/max-size-by-index/206411/1 "2019-11-04T13:16:24Z")

</div>

Hi, sorry for my kid question.

I have just a node with elasticsearch, also a logstash with filebeat in varius nodes.

My ask is: ¿I can limit the total size of index? I haven´t may HDD and I need limit it.

Any idea?

I try rollover but, I think than not work .

---

<div class="post-metadata">

**Author:** ![st3inbeiss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/st3inbeiss/32/55332_2.png) [@st3inbeiss](https://discuss.elastic.co/u/st3inbeiss)\
**Post date:** [November 4, 2019, 1:49pm UTC](https://discuss.elastic.co/t/max-size-by-index/206411/2 "2019-11-04T13:49:36Z")

</div>

Yes, Index Lifecycle Management (ILM) or what you call it - rollover - is the right way to go here.

Set up a ILM-Policy and apply it to your Index.  
For starters see here: [https://www.elastic.co/guide/en/elasticsearch/reference/7.4/getting-started-index-lifecycle-management.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/getting-started-index-lifecycle-management.html)

---

<div class="post-metadata">

**Author:** ![Daniel\_Glez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel_glez/32/49944_2.png) [@Daniel\_Glez](https://discuss.elastic.co/u/Daniel_Glez)\
**Post date:** [November 5, 2019, 11:39am UTC](https://discuss.elastic.co/t/max-size-by-index/206411/3 "2019-11-05T11:39:36Z")

</div>

Thanks so much!

It´s a possible solution, only than I use elasticsearch 6.3 and not all options of ILM work.  
I use curator with actions, and not is easy (but work)  
I´m think in a upgrade.

---

<div class="post-metadata">

**Author:** ![st3inbeiss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/st3inbeiss/32/55332_2.png) [@st3inbeiss](https://discuss.elastic.co/u/st3inbeiss)\
**Post date:** [November 5, 2019, 2:14pm UTC](https://discuss.elastic.co/t/max-size-by-index/206411/4 "2019-11-05T14:14:06Z")

</div>

> [@Daniel\_Glez](#):
>
> I use elasticsearch 6.3

OK, I didn't know that, sorry!

Yes, upgrade your cluster [according to this upgrade path.](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/setup-upgrade.html)

You will like all the new features and improvements! 😉

Best of luck!

---

<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:** [December 3, 2019, 2:14pm UTC](https://discuss.elastic.co/t/max-size-by-index/206411/5 "2019-12-03T14:14:07Z")

</div>

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