# Can metricbeat save events to a local file for a while in case logstash or elasticsearch has problem

**URL:** https://discuss.elastic.co/t/can-metricbeat-save-events-to-a-local-file-for-a-while-in-case-logstash-or-elasticsearch-has-problem/108507
**Category:** Beats
**Tags:** metricbeat
**Created:** [November 21, 2017, 4:59am UTC](https://discuss.elastic.co/t/can-metricbeat-save-events-to-a-local-file-for-a-while-in-case-logstash-or-elasticsearch-has-problem/108507 "2017-11-21T04:59:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Robin\_Guo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_guo/32/42297_2.png) [@Robin\_Guo](https://discuss.elastic.co/u/Robin_Guo)
#### Post date: [November 21, 2017, 4:59am UTC](https://discuss.elastic.co/t/can-metricbeat-save-events-to-a-local-file-for-a-while-in-case-logstash-or-elasticsearch-has-problem/108507/1 "2017-11-21T04:59:36Z")

</div>

Dear ESers,  
I have a question, with ELK solution, We don't deploy a queuing system like rabbitMQ/redis/kafaka to hold the events yet.  
if the shipper side(metricbeat) recognized logstash/elasticsearch has problem, can't sent to, can metricbeat save the events to a local file .  
after logstash or ES cluster recovery from problems, and resent the events to them..

Thanks in advance.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [November 21, 2017, 6:28am UTC](https://discuss.elastic.co/t/can-metricbeat-save-events-to-a-local-file-for-a-while-in-case-logstash-or-elasticsearch-has-problem/108507/2 "2017-11-21T06:28:42Z")

</div>

This is currently not possible, but there is this has been requested and there is an [issue on GitHub](https://github.com/elastic/beats/issues/575) tracking this.

---

<div class="post-metadata">

### Author: ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)
#### Post date: [November 21, 2017, 12:26pm UTC](https://discuss.elastic.co/t/can-metricbeat-save-events-to-a-local-file-for-a-while-in-case-logstash-or-elasticsearch-has-problem/108507/3 "2017-11-21T12:26:44Z")

</div>

This feature is worked on and we hope to have it available with 6.2.

---

<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 19, 2017, 12:26pm UTC](https://discuss.elastic.co/t/can-metricbeat-save-events-to-a-local-file-for-a-while-in-case-logstash-or-elasticsearch-has-problem/108507/4 "2017-12-19T12:26:54Z")

</div>

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