Commit 0e099a50 authored by litaolemo's avatar litaolemo

udpate

parent 5a78daed
...@@ -64,6 +64,7 @@ def get_node_status(ip): ...@@ -64,6 +64,7 @@ def get_node_status(ip):
for data_name in res_json["nodes"]: for data_name in res_json["nodes"]:
data = res_json['nodes'][data_name] data = res_json['nodes'][data_name]
node_name = data['name'] node_name = data['name']
print(data)
ip = data['ip'] ip = data['ip']
query_time = data["indices"]["search"]["query_time_in_millis"] query_time = data["indices"]["search"]["query_time_in_millis"]
query_current = data["indices"]["search"]["query_current"] query_current = data["indices"]["search"]["query_current"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment