# How many shards per node

**URL:** <https://discuss.elastic.co/t/how-many-shards-per-node/204641>\
**Category:** Elasticsearch\
**Created:** [October 22, 2019, 12:21pm UTC](https://discuss.elastic.co/t/how-many-shards-per-node/204641 "2019-10-22T12:21:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elk2](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@elk2](https://discuss.elastic.co/u/elk2)\
**Post date:** [October 22, 2019, 12:21pm UTC](https://discuss.elastic.co/t/how-many-shards-per-node/204641/1 "2019-10-22T12:21:38Z")

</div>

From blog :

> **[How many shards should I have in my Elasticsearch cluster?](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster)**
>
> If you are looking for practical guidelines around how many indices and shards to have in your cluster, this blog post will help you avoid common pitfalls.

A good rule is to ensure to keep the number of shards per node below 20 per GB heap.  
How many shards per node is better to have a low overhead in case of fault ?

---

<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:** [October 22, 2019, 1:18pm UTC](https://discuss.elastic.co/t/how-many-shards-per-node/204641/2 "2019-10-22T13:18:54Z")

</div>

This depends a lot on your use case. Can you provide some details?

---

<div class="post-metadata">

**Author:** ![elk2](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@elk2](https://discuss.elastic.co/u/elk2)\
**Post date:** [October 22, 2019, 2:23pm UTC](https://discuss.elastic.co/t/how-many-shards-per-node/204641/3 "2019-10-22T14:23:45Z")

</div>

Logging, log analysis and full text search.  
We have 1000 devices more or less that send logs to elasticsearch.  
We also use kibana to search details about some events and periodically we create a summary report of these events.

---

<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:** [October 22, 2019, 8:06pm UTC](https://discuss.elastic.co/t/how-many-shards-per-node/204641/4 "2019-10-22T20:06:40Z")

</div>

Than I would recommend sticking to the recommendations in the blog post.

---

<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:** [November 19, 2019, 8:06pm UTC](https://discuss.elastic.co/t/how-many-shards-per-node/204641/5 "2019-11-19T20:06:44Z")

</div>

Closed on November 19, 2019, 8:06pm UTC

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