# Close\_inactive placement in the configuration

**URL:** <https://discuss.elastic.co/t/close-inactive-placement-in-the-configuration/196532>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 23, 2019, 1:14pm UTC](https://discuss.elastic.co/t/close-inactive-placement-in-the-configuration/196532 "2019-08-23T13:14:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shashank\_Dhyani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shashank_dhyani/32/52928_2.png) [@Shashank\_Dhyani](https://discuss.elastic.co/u/Shashank_Dhyani)\
**Post date:** [August 23, 2019, 1:14pm UTC](https://discuss.elastic.co/t/close-inactive-placement-in-the-configuration/196532/1 "2019-08-23T13:14:33Z")

</div>

Hello,

My filebeat.yml looks like this:

- Here I am giving path of external configurations.

> ```
> filebeat.config.inputs:
> enabled: true
> path: C:\\Users\\<user-id>\\Documents\\Shashank\\Filebeat\\filebeat1\\configs\\test\\*.yaml
> reload.enabled: true
> reload.period: 10s
>   
> logging.level: debug
> logging:
> to_files: true
> files:
> path: "C:\\Users\\<user-id>\\Documents\\Shashank\\Filebeat\\filebeat1\\logs\\error-logs\\"
> name: debug-log.txt
>   
> 
> output.file:
> path: "C:\\Users\\<user-id>\\Documents\\Shashank\\Filebeat\\filebeat1\\output\\filebeat\\"
> filename: test-output.txt
> 
> ```

Here is my first external configuration. There are no other external config as of now.

> ```
> - name: first-config
> type: log
> enabled: true
> paths:
> - C:\\Users\\<user-id>\\Documents\\Shashank\\Filebeat\\filebeat1\\sampleTestFiles\\sample.log
> encoding: plain
> 
> ```

I want to set close\_inactive to 10 seconds. I am unable to place it correctly in the configuration and run as I desire. It every time takes the default as 5 minutes. Thank you!

---

<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:** [September 20, 2019, 1:14pm UTC](https://discuss.elastic.co/t/close-inactive-placement-in-the-configuration/196532/2 "2019-09-20T13:14:38Z")

</div>

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