The ElasticSearch cluster is built locally

The ElasticSearch cluster is built locally

elasticsearch 

elasticsearch -Ehttp.port=8200 -Epath.data=node2

elasticsearch -Ehttp.port=7200 -Epath.data=node3

3 nodes are started;

View information for three nodes:

http://localhost:9200/ 

http://localhost:8200/

http://localhost:7200/ 

View cluster information:

http://localhost:9200/_cat/ can have N multiple query methods

http://localhost:9200/_cat/nodes?v You can view the details of the node;

http://localhost:9200/_cluster/stats You can view the status of the cluster;

?v is a dedicated way to view details;

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325112180&siteId=291194637