I am trying to setup an alert rule for elastic search number of nodes. If the number is less than the previous number , then i need an alert. I don't want to hard code the value. Since number of nodes are vary for each cluster.
I am searching but couldn't able to find the answer, may be my search was wrong.