ECE C

I can check my deployment health simply with the API, but then determining the reason for it being unhealthy is more complicated (parsing through the JSON and finding all the healthy: false occurrences)
I was wondering if there is an API that would get the cause of a deployment being unhealthy? I know it appears with a reason in the UI.

Thanks :slight_smile:

Unfortunately the reason info in the UI is generated by "parsing through the JSON and finding all the healthy: false occurrences"!

If it's any consolation, the JSON format is at least documented: https://www.elastic.co/guide/en/cloud-enterprise/current/definitions.html#ElasticsearchClusterInfo

I do like the idea of the API generating a list of reason fields instead of the UI so that API consumers can take advantage of it. I'll open an issue to discuss internally

Alex

1 Like

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