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

x33g5p2x  于2022-08-17 转载在 Logstash  
字(1.4k)|赞(0)|评价(0)|浏览(361)

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

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

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

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

https://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)下载W

https://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节点:

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

相关文章

微信公众号