Is everyone know how to apply the close_timeout in filebeat modules

43%20AM
i am having this one in filebeat.yml file , but its not working. can anyone please tell me how to achieve this one?

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

Example configuration:

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

thank u so much, it worked