# Is everyone know how to apply the close\_timeout in filebeat modules

**URL:** <https://discuss.elastic.co/t/is-everyone-know-how-to-apply-the-close-timeout-in-filebeat-modules/179015>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 30, 2019, 5:57am UTC](https://discuss.elastic.co/t/is-everyone-know-how-to-apply-the-close-timeout-in-filebeat-modules/179015 "2019-04-30T05:57:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohan\_Selvam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohan_selvam/32/43587_2.png) [@Mohan\_Selvam](https://discuss.elastic.co/u/Mohan_Selvam)\
**Post date:** [April 30, 2019, 5:57am UTC](https://discuss.elastic.co/t/is-everyone-know-how-to-apply-the-close-timeout-in-filebeat-modules/179015/1 "2019-04-30T05:57:10Z")

</div>

![43%20AM](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a71ee8e6adb987fdde461862c7ce2481d0a06196.png)  
i am having this one in filebeat.yml file , but its not working. can anyone please tell me how to achieve this one?

---

<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:** [April 30, 2019, 7:21am UTC](https://discuss.elastic.co/t/is-everyone-know-how-to-apply-the-close-timeout-in-filebeat-modules/179015/2 "2019-04-30T07:21:34Z")

</div>

Input level configuration e.g. `close_timeout` goes under the keyword `input` in modules settings.

Example configuration:

```auto
filebeat.modules:
- module: mongodb
  log:
    enabled: true
    var.paths:
    - /var/log/mongodb/*.log
    input:
      close_timeout: 1m

```

---

<div class="post-metadata">

**Author:** ![Mohan\_Selvam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohan_selvam/32/43587_2.png) [@Mohan\_Selvam](https://discuss.elastic.co/u/Mohan_Selvam)\
**Post date:** [April 30, 2019, 7:26am UTC](https://discuss.elastic.co/t/is-everyone-know-how-to-apply-the-close-timeout-in-filebeat-modules/179015/3 "2019-04-30T07:26:12Z")

</div>

thank u so much, it worked

---

<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 28, 2019, 7:26am UTC](https://discuss.elastic.co/t/is-everyone-know-how-to-apply-the-close-timeout-in-filebeat-modules/179015/4 "2019-05-28T07:26:14Z")

</div>

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