filebeat上配置获取nginx的error和access日志,日志写入量不会很大(几个人在用而已)
发现只有在刚开启filebeat几分钟内正常,之后只能获取error日志,access日志无法获取
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
发现只有在刚开启filebeat几分钟内正常,之后只能获取error日志,access日志无法获取
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
1 个回复
beyondzhang
赞同来自: