# Elasticsearch is getting very slow

**URL:** <https://discuss.elastic.co/t/elasticsearch-is-getting-very-slow/22313>\
**Category:** Elasticsearch\
**Created:** [February 22, 2015, 12:32pm UTC](https://discuss.elastic.co/t/elasticsearch-is-getting-very-slow/22313 "2015-02-22T12:32:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aly\_Saleh](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Aly\_Saleh](https://discuss.elastic.co/u/Aly_Saleh)\
**Post date:** [February 22, 2015, 12:32pm UTC](https://discuss.elastic.co/t/elasticsearch-is-getting-very-slow/22313/1 "2015-02-22T12:32:57Z")

</div>

Hi All,

I am new to ElasticSearch and the ELK stack.

I am using Logstash to parse my apache logs in addition to generating the  
fields using kv{} and sending the output to ES and I am using the default  
config.

What happens is when I parse the first 15 log days which are nearly  
equivalent to 15 mil entry it works perfectly. However, when I add another  
15 after the first finish it gets real real slow

I dont know what might have caused that. I do have storage and I haven't  
changed the settings.

Any Ideas?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/01ae43cc-b58e-4e92-b668-c7dce7177cde%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/01ae43cc-b58e-4e92-b668-c7dce7177cde%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [February 22, 2015, 10:27pm UTC](https://discuss.elastic.co/t/elasticsearch-is-getting-very-slow/22313/2 "2015-02-22T22:27:04Z")

</div>

If you're using the default settings for ES then you should change some of  
them. Take a look at this chapter in the docs -

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

The most likely cause of your problems would likely be related to your heap  
size.

On 22 February 2015 at 23:32, Aly Saleh [aly.mostafa15@gmail.com](mailto:aly.mostafa15@gmail.com) wrote:

> Hi All,
> 
> I am new to Elasticsearch and the ELK stack.
> 
> I am using Logstash to parse my apache logs in addition to generating the  
> fields using kv{} and sending the output to ES and I am using the default  
> config.
> 
> What happens is when I parse the first 15 log days which are nearly  
> equivalent to 15 mil entry it works perfectly. However, when I add another  
> 15 after the first finish it gets real real slow
> 
> I dont know what might have caused that. I do have storage and I haven't  
> changed the settings.
> 
> Any Ideas?
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/01ae43cc-b58e-4e92-b668-c7dce7177cde%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/01ae43cc-b58e-4e92-b668-c7dce7177cde%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/01ae43cc-b58e-4e92-b668-c7dce7177cde%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/01ae43cc-b58e-4e92-b668-c7dce7177cde%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8jcc8stuy-KL7%2BGBMt%2B2FWupG%3DjpFjJQXjyn7aoRzX5Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8jcc8stuy-KL7%2BGBMt%2B2FWupG%3DjpFjJQXjyn7aoRzX5Q%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:30am UTC](https://discuss.elastic.co/t/elasticsearch-is-getting-very-slow/22313/3 "2017-07-06T00:30:54Z")

</div>


