0

我正在寻找与在机器上运行的 Elastic Search 节点相关的信息。诸如主节点、CPU 利用率等信息,然后使用 JSPlumb 在 Web Front 上以图形方式呈现该信息。我知道我必须使用 Nodes Info 等 Elastic Search API。但我不知道如何使用这些 API。任何人都可以给我Headstart吗?

4

1 回答 1

1
curl -XGET 'http://localhost:9200/_nodes/stats'
curl -XGET 'http://localhost:9200/_nodes/nodeId1,nodeId2/stats'

参考:https ://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html

于 2016-07-04T11:23:01.500 回答