# Logstash wait for Elasticsearch

**URL:** <https://discuss.elastic.co/t/logstash-wait-for-elasticsearch/216012>\
**Category:** Logstash\
**Created:** [January 22, 2020, 8:58am UTC](https://discuss.elastic.co/t/logstash-wait-for-elasticsearch/216012 "2020-01-22T08:58:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcohald](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@marcohald](https://discuss.elastic.co/u/marcohald)\
**Post date:** [January 22, 2020, 8:58am UTC](https://discuss.elastic.co/t/logstash-wait-for-elasticsearch/216012/1 "2020-01-22T08:58:28Z")

</div>

Hi,

is there a config variable which defines the retry count to elasticsearch on startup?  
In the moment it does a retry 10 times within 16 seconds.  
I already tried this as mentioned here [https://stackoverflow.com/questions/44320705/understanding-the-logstash-retry-policy](https://stackoverflow.com/questions/44320705/understanding-the-logstash-retry-policy)  
retry\_max\_interval =\> 600  
retry\_initial\_interval =\> 20  
But this changed nothing.  
Is there a way to configure more retries ?

---

<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:** [February 19, 2020, 9:04am UTC](https://discuss.elastic.co/t/logstash-wait-for-elasticsearch/216012/2 "2020-02-19T09:04:35Z")

</div>

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