elastic / examples

Home for Elasticsearch examples available to everyone. It's a great way to get started.
Apache License 2.0
2.63k stars 1.24k forks source link

Cluster health watcher using the wrong type for Elastic Cloud environments #421

Open Jacendb opened 1 year ago

Jacendb commented 1 year ago

After a couple of days troubleshooting the cluster-health watcher not working on Elastic Cloud I realized there's an issue here:

It says

"term": {
                        "type" : "cluster_state"
                      }

It should say

                        "type" : "cluster_stats"
                      }