metricbeat监控logstash运行状态上报Elasticsearch后Kibana可视化查看

metricbeat监控logstash运行状态上报Elasticsearch后Kibana可视化查看

(1)首先假定已经启动logstash,Elasticsearch,Kibana。并且已经安装部署metricbeat,本文均基于8.3.3版本。

(a)logstash配置output输出到Elasticsearch,启动

https://zhangphil.blog.csdn.net/article/details/126179168https://zhangphil.blog.csdn.net/article/details/126179168

(b)Elasticsearch启动

Windows环境下安装、启动Elasticsearch_zhangphil的博客-CSDN博客_elasticsearch windows 启动(1)下载Elasticsearch,下载链接:Download Elasticsearch | ElasticDownload Elasticsearch or the complete Elastic Stack (formerly ELK stack) for free and start searching and analyzing in minutes with Elastic.https://www.elastic.co/cn/downloads/elasticsearch(2)下载Whttps://blog.csdn.net/zhangphil/article/details/124475925

(c)Kibana启动

Windows下安装启动Kibana_zhangphil的博客-CSDN博客_windows安装kibana(1)下载Kibana,下载链接Download Kibana Free | Get Started Now | ElasticDownload Kibana or the complete Elastic Stack (formerly ELK stack) for free and start visualizing, analyzing, and exploring your data with Elastic in minutes.https://www.elastic.co/cn/downloa.https://blog.csdn.net/zhangphil/article/details/124498283

(2)启用logstash-xpack 模块:

metricbeat modules enable logstash-xpack

此时会在modules.d文件目录下

多出一个logstash-xpack.yml文件:

(3)命令行启动 Metricbeat:

metricbeat -e

(4)打开http://localhost:5601/

找到stack monitoring

点进去,可能会出现这个界面:

提示:xpack.monitoring.collection.enabled is set to false 

这一步,直接点进蓝色按钮 Turn on monitoring 即可。

(5)然后就可以看到监控界面了,选择logstash版面,这里面就是所有正在监控的logstash节点:

 总览,节点详情统计图表,数据上报流水线,均可点进去查看。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

zhangphil

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值