# Elasticsearch is down and data are messing, how to recover it!

**URL:** <https://discuss.elastic.co/t/elasticsearch-is-down-and-data-are-messing-how-to-recover-it/277202>\
**Category:** Kibana\
**Created:** [June 28, 2021, 10:34am UTC](https://discuss.elastic.co/t/elasticsearch-is-down-and-data-are-messing-how-to-recover-it/277202 "2021-06-28T10:34:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bab](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bab/32/86201_2.png) [@bab](https://discuss.elastic.co/u/bab)\
**Post date:** [June 28, 2021, 10:34am UTC](https://discuss.elastic.co/t/elasticsearch-is-down-and-data-are-messing-how-to-recover-it/277202/1 "2021-06-28T10:34:08Z")

</div>

Hey,

how can I recover data that I lost while my Elasticsearch was down. see the screen below.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/f/4fafe0bcc65ce0950000f98f3dcf57e73e09b3f5.png)

thank you.

---

<div class="post-metadata">

**Author:** ![tusharnemade](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@tusharnemade](https://discuss.elastic.co/u/tusharnemade)\
**Post date:** [June 28, 2021, 11:00am UTC](https://discuss.elastic.co/t/elasticsearch-is-down-and-data-are-messing-how-to-recover-it/277202/2 "2021-06-28T11:00:38Z")

</div>

You can recover data , only when that is stored in Elasticsearch , via Elasticsearch recovery methods...

What you are asking is out of scope for Elasticsearch.

You need to think from the Application point of view who is pushing the data. Have mechanism their to store data , if Elasticsearch is unavailable.

That application / queue has to re-push the data to Elasticsearch Cluster.

---

<div class="post-metadata">

**Author:** ![bab](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bab/32/86201_2.png) [@bab](https://discuss.elastic.co/u/bab)\
**Post date:** [June 28, 2021, 11:25am UTC](https://discuss.elastic.co/t/elasticsearch-is-down-and-data-are-messing-how-to-recover-it/277202/3 "2021-06-28T11:25:36Z")

</div>

> [@bab](#):
>
> how can I recover data that I lost while my Elasticsearch was down

I push the data with Filebeat, then the data is sent to Logstash and filtered for some requirements and then stored in Elasticsearch

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 1, 2021, 2:06am UTC](https://discuss.elastic.co/t/elasticsearch-is-down-and-data-are-messing-how-to-recover-it/277202/4 "2021-07-01T02:06:31Z")

</div>

Filebeat and Logstash should detect Elasticsearch is down and send when it's available.

Otherwise you can reprocess the source data files.

---

<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 29, 2021, 2:06am UTC](https://discuss.elastic.co/t/elasticsearch-is-down-and-data-are-messing-how-to-recover-it/277202/5 "2021-07-29T02:06:37Z")

</div>

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