file无法获取nginx的access日志

filebeat上配置获取nginx的error和access日志,日志写入量不会很大(几个人在用而已)
发现只有在刚开启filebeat几分钟内正常,之后只能获取error日志,access日志无法获取
微信截图_20180510150448.png

filebeat提示错误日志:
ERROR   logstash/async.go:235   Failed to publish events caused by: write tcp xx.xx.xx.xx:45861->xx.xx.xx.xx:5044: write: connection reset by peer
ERROR   pipeline/output.go:92   Failed to publish events: write tcp xx.xx.xx.xx:45861->xx.xx.xx.xx:5044: write: connection reset by peer
 
已邀请:

要回复问题请先登录注册