You are looking at preliminary documentation for a future release. Not what you want? See the current release documentation.
Filebeat keeps the state of each file and persists the state to disk in the registry file. The file state is used to continue file reading at a previous position when Filebeat is restarted. If a large number of new files are produced every day, the registry file might grow to be too large. To reduce the size of the registry file, there are two configuration options available:
For old files that you no longer touch and are ignored (see
ignore_older), we recommended that you use
clean_inactive. If old files get removed from disk, then use the
Intro to Kibana
ELK for Logs & Metrics