# Logstash has fail safe?

**URL:** <https://discuss.elastic.co/t/logstash-has-fail-safe/208459>\
**Category:** Logstash\
**Created:** [November 19, 2019, 9:00am UTC](https://discuss.elastic.co/t/logstash-has-fail-safe/208459 "2019-11-19T09:00:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jogoinar10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jogoinar10/32/20068_2.png) [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)\
**Post date:** [November 19, 2019, 9:00am UTC](https://discuss.elastic.co/t/logstash-has-fail-safe/208459/1 "2019-11-19T09:00:13Z")

</div>

My current setup is the data is from beats(filebeat and winlogbeat) then to logstash for mapping then to elasticsearch.  
What will happen if elasticsearch is down?  
Does the data will still be in queue?

---

<div class="post-metadata">

**Author:** ![gab.bernasconi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gab.bernasconi/32/57955_2.png) [@gab.bernasconi](https://discuss.elastic.co/u/gab.bernasconi)\
**Post date:** [November 19, 2019, 2:05pm UTC](https://discuss.elastic.co/t/logstash-has-fail-safe/208459/2 "2019-11-19T14:05:32Z")

</div>

Depends on your configuration; Logstash has internal queues, but they can be fine-tuned to suit your use case.

See this article, it may be useful to understand the underlying architecture: [https://www.elastic.co/guide/en/logstash/current/deploying-and-scaling.html](https://www.elastic.co/guide/en/logstash/current/deploying-and-scaling.html)

---

<div class="post-metadata">

**Author:** ![jogoinar10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jogoinar10/32/20068_2.png) [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)\
**Post date:** [November 20, 2019, 1:55am UTC](https://discuss.elastic.co/t/logstash-has-fail-safe/208459/3 "2019-11-20T01:55:01Z")

</div>

Will check this out. Thanks!

---

<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:** [December 18, 2019, 1:55am UTC](https://discuss.elastic.co/t/logstash-has-fail-safe/208459/4 "2019-12-18T01:55:03Z")

</div>

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