# Logstash elasticsearch output retry logic

**URL:** <https://discuss.elastic.co/t/logstash-elasticsearch-output-retry-logic/40133>\
**Category:** Logstash\
**Created:** [January 26, 2016, 3:34pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-output-retry-logic/40133 "2016-01-26T15:34:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaharmor](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@shaharmor](https://discuss.elastic.co/u/shaharmor)\
**Post date:** [January 26, 2016, 3:34pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-output-retry-logic/40133/1 "2016-01-26T15:34:22Z")

</div>

Hi,

When multiple hosts are configured in the elasticsearch-ouput plugin configuration, does Logstash retry the action to the same host that it originally failed at or to a different one?

---

<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, 5:14am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-output-retry-logic/40133/2 "2017-07-06T05:14:15Z")

</div>


