Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Find out elastic Search health using _cat/health

To check elasticsearch cluster health by using (CURL) and Cluster API “cat” provieded by elasticsearch
The cat API print the info in JSON format, compact and aligned text which is easy to read by Human eyes. health command when a cluster is malfunctioning. During this period, it’s extremely important to correlate activities across log files, alerting systems, etc. There are two outputs. The HH:MM:SS output is simply for quick human consumption. The epoch time retains more information, including date, and is machine sortable if your recovery spans days.
curl -X GET “localhost:9200/_cat/master?v”
GET /_cat/master?v
curl -X GET “localhost:9200/_cat/master?help”
GET /_cat/master?help
GET /_cat/health?v
curl -X GET “localhost:9200/_cat/health?v”
curl -XGET ‘localhost:9200/_cluster/health?pretty’
Reference
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x