Check each node memory

I am able to get "os.mem.used_percent" by this way curl -GET "http://localhost:9200/_nodes/stats/os".

But I need to get all nodes percent only. So, that I make automation script which check if percentage not goes beyond 90 and if then send the node name.

Is there any way to get only node name and its memory used percentage.


_cat/nodes would show that.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.