Explorar o código

Correct the query dsl for watching elasticsearch version (#58321)

The term query should be looking at the cluster_uuid field in elasticsearch_version_mismatch.json.
bellengao %!s(int64=5) %!d(string=hai) anos
pai
achega
d535e15b72

+ 1 - 1
x-pack/plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_version_mismatch.json

@@ -36,7 +36,7 @@
                       "filter": [
                       "filter": [
                         {
                         {
                           "term": {
                           "term": {
-                            "_id": "{{ctx.metadata.xpack.cluster_uuid}}"
+                            "cluster_uuid": "{{ctx.metadata.xpack.cluster_uuid}}"
                           }
                           }
                         },
                         },
                         {
                         {