# Best non analyzed aggregation setup to avoid 30 second timeout

**URL:** <https://discuss.elastic.co/t/best-non-analyzed-aggregation-setup-to-avoid-30-second-timeout/92270>\
**Category:** Elasticsearch\
**Created:** [July 7, 2017, 12:52pm UTC](https://discuss.elastic.co/t/best-non-analyzed-aggregation-setup-to-avoid-30-second-timeout/92270 "2017-07-07T12:52:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![am87](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@am87](https://discuss.elastic.co/u/am87)\
**Post date:** [July 7, 2017, 12:52pm UTC](https://discuss.elastic.co/t/best-non-analyzed-aggregation-setup-to-avoid-30-second-timeout/92270/1 "2017-07-07T12:52:44Z")

</div>

Hey guys,

I'm using Elasticsearch and Kibana 5 for data analytics primarily.

Brief overview of my setup

- ES has 1 Node with 12 GB memory
- 300 million indexed documents across approx 300 indexes with 1 shard each (no replicas)
- 100GB indexed data

I don't need to analyze any of the string fields at all. They are just meta data used for filtering and aggregations.

Once I start filtering on \> a years worth of data I frequently encounter the 30 second timeout on Kibana dashboards.

I was wondering how I could improve my setup to improve response times and avoid this timeout without increasing the timeout value(which wouldn't solve the problem). I suspect my setup is a little under provisioned

I was thinking of adding 2 more nodes and seeing what happens.

Does that sound sensible?

I was also wondering if theres any index config I could do that would improve performance, do I need to switch to doc\_values? or are they enabled by default? I suspect they are.

Any suggestions would be greatly appreciated.

Regards,  
am87

---

<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:** [August 4, 2017, 12:52pm UTC](https://discuss.elastic.co/t/best-non-analyzed-aggregation-setup-to-avoid-30-second-timeout/92270/2 "2017-08-04T12:52:47Z")

</div>

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