# Error log "Couldn't index event to elastic"

**URL:** https://discuss.elastic.co/t/error-log-couldnt-index-event-to-elastic/340704
**Category:** Logstash
**Created:** [August 13, 2023, 4:19pm UTC](https://discuss.elastic.co/t/error-log-couldnt-index-event-to-elastic/340704 "2023-08-13T16:19:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![yuswanul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuswanul/32/101662_2.png) [@yuswanul](https://discuss.elastic.co/u/yuswanul)
#### Post date: [August 13, 2023, 4:19pm UTC](https://discuss.elastic.co/t/error-log-couldnt-index-event-to-elastic/340704/1 "2023-08-13T16:19:58Z")

</div>

Hi there,

I want to confirm, if I got "Could not index event to elasticsearch" error, will it be retried if the reason that log has been resolved? I got this error and the reason shows me it caused by "Limit total fields" I've been increased the field limit but the log that rejected before didn't show up at all after I increased the field limit

Thanks

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [August 13, 2023, 6:22pm UTC](https://discuss.elastic.co/t/error-log-couldnt-index-event-to-elastic/340704/2 "2023-08-13T18:22:07Z")

</div>

> [@yuswanul](#):
>
> I want to confirm, if I got "Could not index event to elasticsearch" error, will it be retried if the reason that log has been resolved?

No, they will not be retried.

This error has a `400` response from Elasticsearch, and according to the [retry policy](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#_retry_policy) a `400` and `404` response will send the event to the DLQ, if enabled, and drop it.

If you do not have DLQ enabled the event is just dropped.

---

<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 10, 2023, 6:22pm UTC](https://discuss.elastic.co/t/error-log-couldnt-index-event-to-elastic/340704/3 "2023-09-10T18:22:48Z")

</div>

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