The index GET /_stats api doesn't return if the index is green, yellow, red

HI There,

the index GET /_stats api doesn't return if the index is green, yellow, red.
Could you tell me what are the conditions to say that if an index is green, yellow, red based on the data returned by the GET /_stats api.
I tried to call GET /_cat/indices/user_common?h=index,health, but the call got throttled.

Thank you!

Your question is largely ambiguous. There are many conditions which may effect the Elasticsearch node / cluster / indexes / shards / routing etc. Further detail on the API's is here https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.