# Slow indexing and large index

**URL:** <https://discuss.elastic.co/t/slow-indexing-and-large-index/17562>\
**Category:** Elasticsearch\
**Created:** [May 16, 2014, 4:19pm UTC](https://discuss.elastic.co/t/slow-indexing-and-large-index/17562 "2014-05-16T16:19:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_L](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@J\_L](https://discuss.elastic.co/u/J_L)\
**Post date:** [May 16, 2014, 4:19pm UTC](https://discuss.elastic.co/t/slow-indexing-and-large-index/17562/1 "2014-05-16T16:19:53Z")

</div>

For this environment i'm using ES + Logstash + GrayLog2

I've manually ( and stupidly ) deleted the elasticsearch indices in  
/var/lib/elasticsearch/....

Then i've cleaned mongodb to reset the GL2 config

Logstash is reading logfiles and sending GELF output

In GL2 i created Inputs for UDP GELF

All is working fine BUT the indexing is now very slow, on average 50  
messages per second.

I saw frequent numbers of over 2000 messages per second

What can i do to analyze, troubleshoot, fix this issue ?

Best Regards,

Joris

--  
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/4dbaa503-d794-4b95-b924-13709ec11ee9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4dbaa503-d794-4b95-b924-13709ec11ee9%40googlegroups.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, 1:28am UTC](https://discuss.elastic.co/t/slow-indexing-and-large-index/17562/2 "2017-07-06T01:28:50Z")

</div>

Closed on July 6, 2017, 1:28am UTC


