# Attempted to resurrect connection to dead ES instance with automatic config reload 6.7

**URL:** <https://discuss.elastic.co/t/attempted-to-resurrect-connection-to-dead-es-instance-with-automatic-config-reload-6-7/222234>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [March 5, 2020, 8:33am UTC](https://discuss.elastic.co/t/attempted-to-resurrect-connection-to-dead-es-instance-with-automatic-config-reload-6-7/222234 "2020-03-05T08:33:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmirZ](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@AmirZ](https://discuss.elastic.co/u/AmirZ)\
**Post date:** [March 5, 2020, 8:33am UTC](https://discuss.elastic.co/t/attempted-to-resurrect-connection-to-dead-es-instance-with-automatic-config-reload-6-7/222234/1 "2020-03-05T08:33:34Z")

</div>

Hi,

i have the following config:  
output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
index =\> "%{[@metadata][index]}-logs-%{+YYYY.MM.dd}"  
}  
elasticsearch {  
hosts =\> ["remote:9200"]  
index =\> "%{[@metadata][index]}-logs-%{+YYYY.MM.dd}"  
}  
}

when the remote is dead i remove the remote output from the config and counting on the --config.reload.automatic to reload the config, new config:  
output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
index =\> "%{[@metadata][index]}-logs-%{+YYYY.MM.dd}"  
}  
}

but i keep getting Attempted to resurrect connection to dead ES instance on the remote server and logstash wont connect to the local elk from that point.  
is there a way to fix it?

running on 6.7.

Thanks!

Amir

---

<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:** [April 2, 2020, 8:33am UTC](https://discuss.elastic.co/t/attempted-to-resurrect-connection-to-dead-es-instance-with-automatic-config-reload-6-7/222234/2 "2020-04-02T08:33:36Z")

</div>

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