# Does logstash queue data until crashed elasticsearch recovers?

**URL:** <https://discuss.elastic.co/t/does-logstash-queue-data-until-crashed-elasticsearch-recovers/227518>\
**Category:** Logstash\
**Created:** [April 10, 2020, 2:24pm UTC](https://discuss.elastic.co/t/does-logstash-queue-data-until-crashed-elasticsearch-recovers/227518 "2020-04-10T14:24:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![isharamadhawa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/isharamadhawa/32/68006_2.png) [@isharamadhawa](https://discuss.elastic.co/u/isharamadhawa)\
**Post date:** [April 10, 2020, 2:24pm UTC](https://discuss.elastic.co/t/does-logstash-queue-data-until-crashed-elasticsearch-recovers/227518/1 "2020-04-10T14:24:45Z")

</div>

I'm performing duplicate data removing process using fingerprint filter in logstash. I have an elastic cloud setup. Logstash reads data from my 3 node elastic cloud cluster and writes to the same cluster without any duplicate data.  
While performing this operation I came across multiple short interval down times of my elastic cluster. Because of down times of elasticsearch, I can't verify whether any data loss had happened since I have a very large index.  
So I want to know what happens to data when logstash can't send to elasticsearch due to failure in elasticsearch side.  
Does logstash keep that in memory until elasticsearch is reachable?  
or I loss data when elasticsearch is unreachable?

---

<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:** [May 8, 2020, 2:24pm UTC](https://discuss.elastic.co/t/does-logstash-queue-data-until-crashed-elasticsearch-recovers/227518/2 "2020-05-08T14:24:50Z")

</div>

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