# Filebeat does not exit on EOF (input\_type=stdin)

**URL:** <https://discuss.elastic.co/t/filebeat-does-not-exit-on-eof-input-type-stdin/69545>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 20, 2016, 9:50am UTC](https://discuss.elastic.co/t/filebeat-does-not-exit-on-eof-input-type-stdin/69545 "2016-12-20T09:50:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [December 21, 2016, 8:44am UTC](https://discuss.elastic.co/t/filebeat-does-not-exit-on-eof-input-type-stdin/69545/2 "2016-12-21T08:44:46Z")

</div>

Filebeat is not designed to stop when the pipe closes. I'm thinking if we could do something here combined with the `-once` command line option. I actually never tried that.

---

_[View the full topic](https://discuss.elastic.co/t/filebeat-does-not-exit-on-eof-input-type-stdin/69545)._
