elasticsearch index status code example
Example 1: elasticsearch show indexes
GET /_cat/indices
curl -X GET "localhost:9200/_cat/indices?pretty"
Example 2: elasticsearch check status
GET /_cluster/health?wait_for_status=yellow&timeout=50s
GET /_cat/indices
curl -X GET "localhost:9200/_cat/indices?pretty"
GET /_cluster/health?wait_for_status=yellow&timeout=50s