# Kibana dreaded timeout on dashboard

**URL:** https://discuss.elastic.co/t/kibana-dreaded-timeout-on-dashboard/79453
**Category:** Kibana
**Created:** [March 21, 2017, 3:25pm UTC](https://discuss.elastic.co/t/kibana-dreaded-timeout-on-dashboard/79453 "2017-03-21T15:25:56Z")
**Posts on this page:** 5
**Page:** 2

<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: [March 22, 2017, 6:18pm UTC](https://discuss.elastic.co/t/kibana-dreaded-timeout-on-dashboard/79453/21 "2017-03-22T18:18:11Z")

</div>

Shard size does affect query latency, so if your CPU is not saturated during querying, you may benefit from decreasing the shard size, e.g. by increasing the number of primary shards to 4 or 6 instead of 3. To benefit from indices covering a smaller time period I do however suspect you need to migrate to 5.x.

---

<div class="post-metadata">

### Author: ![gh0stid](https://avatars.discourse-cdn.com/v4/letter/g/f9ae1b/32.png) [@gh0stid](https://discuss.elastic.co/u/gh0stid)
#### Post date: [March 22, 2017, 6:19pm UTC](https://discuss.elastic.co/t/kibana-dreaded-timeout-on-dashboard/79453/22 "2017-03-22T18:19:21Z")

</div>

kk, it helps. thank you

still I just did a odd test ( for the fun ) . tried to fetch "only in discover" the last 30 days, and it work . no timeout but takes long to load..

so the problems is really upon visualisation ...

---

<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: [March 22, 2017, 6:22pm UTC](https://discuss.elastic.co/t/kibana-dreaded-timeout-on-dashboard/79453/23 "2017-03-22T18:22:44Z")

</div>

Discover just fetches a sample of 500 documents and do not aggregate across all records, so has little in common with the aggregations behind visualizations.

---

<div class="post-metadata">

### Author: ![gh0stid](https://avatars.discourse-cdn.com/v4/letter/g/f9ae1b/32.png) [@gh0stid](https://discuss.elastic.co/u/gh0stid)
#### Post date: [March 22, 2017, 6:25pm UTC](https://discuss.elastic.co/t/kibana-dreaded-timeout-on-dashboard/79453/24 "2017-03-22T18:25:09Z")

</div>

got it.

So long story made short... I would have to change the amount of shards to 6 and it will manage the "spread" by it self ?

---

<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: [April 19, 2017, 6:25pm UTC](https://discuss.elastic.co/t/kibana-dreaded-timeout-on-dashboard/79453/25 "2017-04-19T18:25:53Z")

</div>

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

[Previous page](https://discuss.elastic.co/t/kibana-dreaded-timeout-on-dashboard/79453.md?page=1)
