Hello,World

filebet自动关闭了

Beats | 作者 Florence | 发布于2020年09月18日 | 阅读数:2449

版本7.8.1,使用tar包安装得
以下是日志
2020-09-18T15:21:29.094+0800    INFO    beater/filebeat.go:456  Stopping filebeat
2020-09-18T15:21:29.094+0800 INFO beater/crawler.go:148 Stopping Crawler
2020-09-18T15:21:29.094+0800 INFO beater/crawler.go:158 Stopping 4 inputs
2020-09-18T15:21:29.094+0800 INFO cfgfile/reload.go:227 Dynamic config reloader stopped
2020-09-18T15:21:29.094+0800 INFO [crawler] beater/crawler.go:163 Stopping input: 7159628253600522019
2020-09-18T15:21:29.094+0800 INFO input/input.go:138 input ticker stopped
2020-09-18T15:21:29.094+0800 INFO [crawler] beater/crawler.go:163 Stopping input: 9508933365478440801
2020-09-18T15:21:29.094+0800 INFO [crawler] beater/crawler.go:163 Stopping input: 1753742144669851196
2020-09-18T15:21:29.094+0800 INFO [crawler] beater/crawler.go:163 Stopping input: 15521432533111009881
2020-09-18T15:21:29.094+0800 INFO input/input.go:138 input ticker stopped
2020-09-18T15:21:29.094+0800 INFO log/harvester.go:320 Reader was closed: /data1/log/ndp/hadoop-yarn/yarn_nodemanager/yarn-yarn-nodemanager-bdms4.piccfs.cn.log. Closing.
2020-09-18T15:21:29.094+0800 INFO input/input.go:138 input ticker stopped
2020-09-18T15:21:29.094+0800 INFO input/input.go:138 input ticker stopped
2020-09-18T15:21:29.094+0800 INFO log/harvester.go:320 Reader was closed: /data1/log/ndp/hbase/hbase-hbase-regionserver-bdms4.piccfs.cn.log. Closing.
2020-09-18T15:21:29.094+0800 INFO log/harvester.go:320 Reader was closed: /data1/log/ndp/hadoop-hdfs/hdfs_datanode/hadoop-hdfs-datanode-bdms4.piccfs.cn.log. Closing.
2020-09-18T15:21:29.094+0800 INFO log/harvester.go:320 Reader was closed: /var/log/ambari-agent/ambari-agent.log. Closing.
2020-09-18T15:21:29.094+0800 INFO beater/crawler.go:178 Crawler stopped
2020-09-18T15:21:29.094+0800 INFO registrar/registrar.go:367 Stopping Registrar
2020-09-18T15:21:29.094+0800 INFO registrar/registrar.go:293 Ending Registrar
2020-09-18T15:21:29.101+0800 INFO [monitoring] log/log.go:153 Total non-zero metrics {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":18360,"time":{"ms":18365}},"total":{"ticks":113100,"time":{"ms":113106},"value":113100},"user":{"ticks":94740,"time":{"ms":94741}}},"handles":{"limit":{"hard":65535,"soft":65535},"open":9},"info":{"ephemeral_id":"4ce42432-1b7d-459a-962b-09920269c5af","uptime":{"ms":2088726}},"memstats":{"gc_next":21076080,"memory_alloc":19716144,"memory_total":10670790800,"rss":69427200},"runtime":{"goroutines":14}},"filebeat":{"events":{"active":3,"added":942219,"done":942216},"harvester":{"closed":4,"open_files":0,"running":0,"started":4}},"libbeat":{"config":{"module":{"running":0},"reloads":1,"scans":1},"output":{"events":{"acked":896476,"batches":18328,"dropped":98,"total":896574},"type":"elasticsearch"},"pipeline":{"clients":0,"events":{"active":3,"filtered":45642,"published":896577,"retry":50,"total":942219},"queue":{"acked":896574}}},"registrar":{"states":{"current":4,"update":942216},"writes":{"success":18334,"total":18334}},"system":{"cpu":{"cores":16},"load":{"1":0.12,"15":0.12,"5":0.09,"norm":{"1":0.0075,"15":0.0075,"5":0.0056}}}}}}
2020-09-18T15:21:29.101+0800 INFO [monitoring] log/log.go:154 Uptime: 34m48.727353159s
2020-09-18T15:21:29.101+0800 INFO [monitoring] log/log.go:131 Stopping metrics logging.
2020-09-18T15:21:29.101+0800 INFO instance/beat.go:469 filebeat stopped.
~
但是很奇怪的是其他有些节点得filebeat没有断
已邀请:

hz_zqc

赞同来自:

这就是内部异常了 没改源码就是配置有问题  
从最简单的配置开始一点点往上加,测试启动,看看是哪个配置导致的 

要回复问题请先登录注册