How to debug elasticsearch cluster going yellow or red

Many times elasticsearch cluster goes yellow or red and we don't know from where to start debugging. This article explains how to debug the cluster going red or yellow state and make it green again.
Want to leave a comment?