在 Mapping 里面,将 dynamic 参数设置成 strict 可以拒绝索引包含未知字段的文档。 此条 Tips 由 medcl 贡献。

filebeat nohup 日志 都是 Non-zero metrics in the last 30s ,看不到实际的日志记录。但是kibana显示的日志没问题。是有什么配置么

Beats | 作者 Arisih | 发布于2019年12月10日 | 阅读数:6911

2019-12-10T11:38:55.355+0800 INFO [monitoring] log/log.go:145 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":891810,"time":{"ms":12}},"total":{"ticks":2936730,"time":{"ms":40},"value":2936730},"user":{"ticks":2044920,"time":{"ms":28}}},"handles":{"limit":{"hard":65535,"soft":65535},"open":9},"info":{"ephemeral_id":"8bdc77d5-29c7-4242-b8f2-3de6c6c10233","uptime":{"ms":4329720029}},"memstats":{"gc_next":10660976,"memory_alloc":7080968,"memory_total":686525434144},"runtime":{"goroutines":41}},"filebeat":{"events":{"added":34,"done":34},"harvester":{"open_files":3,"running":3}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"acked":34,"batches":7,"total":34},"read":{"bytes":42},"write":{"bytes":14592}},"pipeline":{"clients":2,"events":{"active":0,"published":34,"total":34},"queue":{"acked":34}}},"registrar":{"states":{"current":7,"update":34},"writes":{"success":7,"total":7}},"system":{"load":{"1":0.1,"15":0.13,"5":0.14,"norm":{"1":0.05,"15":0.065,"5":0.07}}}}}}
已邀请:

要回复问题请先登录注册