# Debug logs when indexing by bulks

**URL:** <https://discuss.elastic.co/t/debug-logs-when-indexing-by-bulks/15914>\
**Category:** Elasticsearch\
**Created:** [February 20, 2014, 7:06am UTC](https://discuss.elastic.co/t/debug-logs-when-indexing-by-bulks/15914 "2014-02-20T07:06:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Lu](https://avatars.discourse-cdn.com/v4/letter/e/919ad9/32.png) [@Eric\_Lu](https://discuss.elastic.co/u/Eric_Lu)\
**Post date:** [February 20, 2014, 7:06am UTC](https://discuss.elastic.co/t/debug-logs-when-indexing-by-bulks/15914/1 "2014-02-20T07:06:04Z")

</div>

Hi,

I'm using bulks to index billions of docs. I check the logs and I find that  
it keeps logging like this:  
[2014-02-20 00:00:01,325][DEBUG][action.bulk] [Will o' the  
Wisp] [...][21] failed to execute bulk item (index) index {...}  
java.lang.ArrayIndexOutOfBoundsException  
[2014-02-20 00:00:04,345][DEBUG][action.bulk] [Will o' the  
Wisp] [...][29] failed to execute bulk item (index) index {...}  
java.lang.ArrayIndexOutOfBoundsException  
...

but my indices are keep increasing. how to solve it out?

--  
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/382ee60a-4e63-41cc-a5da-da2e0df8689b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/382ee60a-4e63-41cc-a5da-da2e0df8689b%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Binh\_Ly](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@Binh\_Ly](https://discuss.elastic.co/u/Binh_Ly)\
**Post date:** [February 20, 2014, 2:49pm UTC](https://discuss.elastic.co/t/debug-logs-when-indexing-by-bulks/15914/2 "2014-02-20T14:49:27Z")

</div>

Not sure about the cause of your error logs, but I'd try to limit the bulk  
sizes to between 5-15MB and see if you still get the errors.

--  
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/97b701dd-a95e-4c49-8853-984eb569afb6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/97b701dd-a95e-4c49-8853-984eb569afb6%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:48am UTC](https://discuss.elastic.co/t/debug-logs-when-indexing-by-bulks/15914/3 "2017-07-06T01:48:40Z")

</div>


