Reached open files limit: 4095, set by the 'max_open_files' option or default, files yet to open: 30608
这个错误是,logstash的file input插件配置的 max_open_files 默认值太小
是4095.
所以,要调大。
修改配置:
max_open_files => 65535
重启logstash,即可解决这个错误
参考:
官网地址:
https://www.elastic.co/guide/en/logstash/7.12/plugins-inputs-file.html