Close_inactive placement in the configuration

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!

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