2019-12-23T17:08:05.850+0800 INFO [monitoring] log/log.go:145 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":400,"time":{"ms":4}},"total":{"ticks":3410,"time":{"ms":21},"value":3410},"user":{"ticks":3010,"time":{"ms":17}}},"handles":{"limit":{"hard":4096,"soft":1024},"open":16},"info":{"ephemeral_id":"c9e66970-993f-4f95-8612-dcedc5877782","uptime":{"ms":270023}},"memstats":{"gc_next":8020800,"memory_alloc":5775744,"memory_total":271599024},"runtime":{"goroutines":108}},"filebeat":{"harvester":{"open_files":10,"running":10}},"libbeat":{"config":{"module":{"running":0}},"pipeline":{"clients":8,"events":{"active":0}}},"registrar":{"states":{"current":10}},"system":{"load":{"1":0,"15":0.05,"5":0.01,"norm":{"1":0,"15":0.0083,"5":0.0017}}}}}}
- 问题表现:Filebeat 无法向 Elasticsearch 发送日志数据;
- 错误信息:
INFO [monitoring] 1og/log.go:124 Non-zero metrics in the last 30s
; - 社区反馈:在 input 和 output 下面添加属性