# 30 shards or daily index?

**URL:** https://discuss.elastic.co/t/30-shards-or-daily-index/112121
**Category:** Elasticsearch
**Created:** [December 17, 2017, 3:41pm UTC](https://discuss.elastic.co/t/30-shards-or-daily-index/112121 "2017-12-17T15:41:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![80c1141eb6d0c564dd90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/80c1141eb6d0c564dd90/32/20893_2.png) [@80c1141eb6d0c564dd90](https://discuss.elastic.co/u/80c1141eb6d0c564dd90)
#### Post date: [December 17, 2017, 3:41pm UTC](https://discuss.elastic.co/t/30-shards-or-daily-index/112121/1 "2017-12-17T15:41:10Z")

</div>

What is better for performance - make 30 shards in index =\> ["prod-%{+[YYYY.MM](http://YYYY.MM)}"] or daily index like index =\> ["prod-%{+YYYY.MM.dd}"]?  
P.s. I plan to use ELK for storing app logs for 2-3 years  
P.p.s. Approximate amount of unziped logs now is 30GB/day

---

<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: [December 17, 2017, 9:51pm UTC](https://discuss.elastic.co/t/30-shards-or-daily-index/112121/2 "2017-12-17T21:51:55Z")

</div>

I would just use daily and make it a single shard.

---

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [December 25, 2017, 8:57am UTC](https://discuss.elastic.co/t/30-shards-or-daily-index/112121/3 "2017-12-25T08:57:51Z")

</div>

if use SSD a single shard if not two or three shards .  
as my test HHD 30G is two large 10G -15G is better.

---

<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: [January 22, 2018, 8:58am UTC](https://discuss.elastic.co/t/30-shards-or-daily-index/112121/4 "2018-01-22T08:58:16Z")

</div>

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