# Should i create daily index or weekly?

**URL:** <https://discuss.elastic.co/t/should-i-create-daily-index-or-weekly/187499>\
**Category:** Elasticsearch\
**Created:** [June 26, 2019, 7:15am UTC](https://discuss.elastic.co/t/should-i-create-daily-index-or-weekly/187499 "2019-06-26T07:15:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeetu19](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeetu19/32/42558_2.png) [@Jeetu19](https://discuss.elastic.co/u/Jeetu19)\
**Post date:** [June 26, 2019, 7:15am UTC](https://discuss.elastic.co/t/should-i-create-daily-index-or-weekly/187499/1 "2019-06-26T07:15:47Z")

</div>

I have three node cluster(1 master node and two data node). currently i am creating weekly index with 3 shards and 1 replica.and size of weekly index is around 40-50 gb. and its working fine for us.

but now we have another new requirement with daily log size of around100gb (it can grow upto 500gb after 2-3 months) . i have tried with weekly index but its creating performance issue(slowness, timeout, etc)

Can you please suggest me that should i increase number of shards or create daily basis index with 3 shards.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 26, 2019, 7:32am UTC](https://discuss.elastic.co/t/should-i-create-daily-index-or-weekly/187499/2 "2019-06-26T07:32:40Z")

</div>

> [@Jeetu19](#):
>
> I have three node cluster(1 master node and two data node)

This is a bad setup. You should always have at least 3 master-eligible nodes, so I would recommend changing this to 3 master/data nodes or 1 dedicated master node and 2 master/data nodes).

The easy way to manage changing volumes, especially for time-series data that is not updated, is to use rollover and ILM. Rollover allows you to specify maximum size and age and then create a new index whichever comes first. When you have volumes that do not trigger the size threshold you can get weekly indices and once volumes ramp up each index will cover a shorter time period and instead aim for the target size.

---

<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 24, 2019, 7:32am UTC](https://discuss.elastic.co/t/should-i-create-daily-index-or-weekly/187499/3 "2019-07-24T07:32:54Z")

</div>

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