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.
Thanks