Monitoring your cluster state and health
During the normal life of an application, a very important concern is monitoring. This allows the administrators of the system to detect possible problems and prevent them before they occur or at least know what happens during a failure.
ElasticSearch provides very detailed information that allows us to check and monitor the node or cluster as a whole. This includes statistics, information about the server, and node parameters, but first of all it includes complete information about the current cluster state. Let's look at this in more detail. But before that let's take a look at one piece of information: these APIs are very complex and in this book we've only described the basics. Please note that the amount of information regarding the cluster state and health monitoring is enormous; because of this we keep the information and details about ElasticSearch internal to the minimum that is needed to understand the described topic.