瀏覽代碼

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 5 年之前
父節點
當前提交
d535e15b72

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

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