Filebeat close_older and close_inactive: Controlling Log File Harvesting
Filebeat's close_older and close_inactive settings bound file handle usage by closing stale or idle log files. This guide explains the difference, shows a production-ready configuration, and covers verification steps plus common pitfalls like incomplete tailing and truncation data loss.