且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Logstash-无法打开< file_path>没有权限

更新时间:2023-11-22 12:06:28

我认为,对于logstash 1.4.2,唯一的答案是:

I think, for logstash 1.4.2, the only answer is to:

  • 从受监视的目录中移动或删除文件
  • 重新启动日志记录

我认为没有其他方法可以让Logstash发布文件句柄处理已处理且不会再添加的日志.

I don't think there's any other way to have logstash release file handles of logs that have been processed and won't be added to any more.