# Data lost in kibana when either logstash or elasticsearch servers are down

**URL:** <https://discuss.elastic.co/t/data-lost-in-kibana-when-either-logstash-or-elasticsearch-servers-are-down/228277>\
**Category:** Kibana\
**Created:** [April 16, 2020, 8:24am UTC](https://discuss.elastic.co/t/data-lost-in-kibana-when-either-logstash-or-elasticsearch-servers-are-down/228277 "2020-04-16T08:24:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex123](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Alex123](https://discuss.elastic.co/u/Alex123)\
**Post date:** [April 16, 2020, 8:24am UTC](https://discuss.elastic.co/t/data-lost-in-kibana-when-either-logstash-or-elasticsearch-servers-are-down/228277/1 "2020-04-16T08:24:57Z")

</div>

Data gets lost when either logstash/elasticsearch server is down.. and data gets picked up when one of the both servers are restarted again.. Is there any way to recover/stop the data to be lost. Or search anything else for this issue ?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [April 16, 2020, 1:01pm UTC](https://discuss.elastic.co/t/data-lost-in-kibana-when-either-logstash-or-elasticsearch-servers-are-down/228277/2 "2020-04-16T13:01:51Z")

</div>

Well, Kibana has really nothing to do with this. It doesn't store any data, it just queries the data from Elasticsearch. If you're losing ingest data, I'd suggest using Kafka as a layer in between your shippers and Elasticsearch, to store the data temporarily while your ES server is down.

> **[Just Enough Kafka for the Elastic Stack, Part 1](https://www.elastic.co/blog/just-enough-kafka-for-the-elastic-stack-part1)**
>
> This post talks about design considerations for integrating Kafka with the Elastic Stack.

---

<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 14, 2020, 1:01pm UTC](https://discuss.elastic.co/t/data-lost-in-kibana-when-either-logstash-or-elasticsearch-servers-are-down/228277/3 "2020-05-14T13:01:53Z")

</div>

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