Filebeat configuration

Hi,
I am new to Filebeat, would someone show me where in the filebeat.yml to set the option for

  1. close_removed
  2. close_inactive

Thanks

Respective docs for both:
https://www.elastic.co/guide/en/beats/filebeat/5.3/configuration-filebeat-options.html#close-removed
https://www.elastic.co/guide/en/beats/filebeat/5.3/configuration-filebeat-options.html#clean-inactive

These are prospector parameters, so they go under the input_type. e.g.

filebeat.prospectors:
 - input_type: log
   close_inactive: 10m
   close_removed: true

Got it. Thanks!

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