# Closing because close\_inactive of 5m0s reached

**URL:** <https://discuss.elastic.co/t/closing-because-close-inactive-of-5m0s-reached/114136>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 4, 2018, 5:42pm UTC](https://discuss.elastic.co/t/closing-because-close-inactive-of-5m0s-reached/114136 "2018-01-04T17:42:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [January 5, 2018, 11:27am UTC](https://discuss.elastic.co/t/closing-because-close-inactive-of-5m0s-reached/114136/3 "2018-01-05T11:27:51Z")

</div>

You can increase `close_timeout` by setting it in your prospector.

E.g. you can increase it to 10 minutes instead of the default 5 minutes.

```auto
filebeat.prospectors:
 - input_type: log
   close_inactive: 10m

```

See more on this option: [https://www.elastic.co/guide/en/beats/filebeat/master/configuration-filebeat-options.html#close-inactive](https://www.elastic.co/guide/en/beats/filebeat/master/configuration-filebeat-options.html#close-inactive)

---

_[View the full topic](https://discuss.elastic.co/t/closing-because-close-inactive-of-5m0s-reached/114136)._
