# ElasticSearch Long Time Range

**URL:** <https://discuss.elastic.co/t/elasticsearch-long-time-range/96148>\
**Category:** Elasticsearch\
**Created:** [August 7, 2017, 7:28pm UTC](https://discuss.elastic.co/t/elasticsearch-long-time-range/96148 "2017-08-07T19:28:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rymoore](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rymoore/32/20889_2.png) [@rymoore](https://discuss.elastic.co/u/rymoore)\
**Post date:** [August 7, 2017, 7:28pm UTC](https://discuss.elastic.co/t/elasticsearch-long-time-range/96148/1 "2017-08-07T19:28:20Z")

</div>

Hi - this is likely a newbie question…

I have limited experience with Grafana and ElasticSearch, but love my experience with both so far.

I have a set of data streaming into Elastic, and it displays perfectly in Grafana for relatively short time ranges (under 2 days). When I hit a longer time range (let’s say 2 months) however, it completely crashes my Elastic instance.

I assume that this could be fixed by adding more resources to my Elastic server, but I wanted to check… is this typical? Anything that is normally done to optimize and prevent this?

---

<div class="post-metadata">

**Author:** ![dakrone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dakrone/32/23351_2.png) [@dakrone](https://discuss.elastic.co/u/dakrone)\
**Post date:** [August 7, 2017, 8:38pm UTC](https://discuss.elastic.co/t/elasticsearch-long-time-range/96148/2 "2017-08-07T20:38:35Z")

</div>

> ... is this typical?  
> Anything that is normally done to optimize and prevent this?

In order to determine that we need a little more information about your setup  
Can you give more information about your Elasticsearch setup and queries?

- What sort of server(s) are you running Elasticsearch on? How much RAM do you  
give the JVM?
- What sort of query/aggregation are you sending to Elasticsearch? If you have a  
copy please do post it here so we can see it.
- How is Elasticsearch crashing, is it running out of memory? Circuit breaker  
tripping?

---

<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:** [September 4, 2017, 8:38pm UTC](https://discuss.elastic.co/t/elasticsearch-long-time-range/96148/3 "2017-09-04T20:38:37Z")

</div>

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