Command to check whether the EFK cluster deployment is successful

After the deployment is complete, you need to check the status of es with:

curl -u'es username: password' http://elasticsearch's svc name. The partition where es is located. svc.cluaster.local: 9200/_cat/health?v --View the cluster information of es

curl -u'es username: password' http://elasticsearch's svc name. The partition where es is located.svc.cluaster.local: 9200/_cat/node?v --View node information

curl -u'admin:xxxx' clientip:9200/_cat/nodes?v curl -u'admin:password' 10.252.xxx.xxx:9200/logstash-2020.04.26/_search?pretty - query index records

Guess you like

Origin blog.csdn.net/qq_34939308/article/details/110501443
efk