首页 > 其他 > 详细

ELK节点查询

时间:2018-07-26 14:48:37      阅读:215      评论:0      收藏:0      [点我收藏+]
1、查看ES集群
curl -u USER:PASS http://IP:9200/_cat/nodes?v
curl -u USER:PASShttp://IP:9200/_cluster/health?pretty

2、在ES中查看logstash个数

ss -nt| grep `ifconfig | grep "inet add"| grep Bcast| awk ‘{print $2}‘| awk -F ":" ‘{print $2}‘`:9200| awk ‘{print $NF}‘| awk -F: ‘{print $4}‘| sort| uniq -c

3、查看Kafka 集群节点数

./zkCli.sh -server 10.13.2.66:2181
ls /brokers/ids

4、查看zookeeper集群的节点数

cat zoo.cfg

server.1=localhost:2881:3881
server.2=localhost:2882:3882
server.3=localhost:2883:3883

ELK节点查询

原文:http://blog.51cto.com/395469372/2150475

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!