Skip to content

Commit c76e409

Browse files
gaobinlongjakelandis
authored andcommitted
Correct the query dsl for watching elasticsearch version (elastic#58321)
The term query should be looking at the cluster_uuid field in elasticsearch_version_mismatch.json.
1 parent e0eafec commit c76e409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"filter": [
3737
{
3838
"term": {
39-
"_id": "{{ctx.metadata.xpack.cluster_uuid}}"
39+
"cluster_uuid": "{{ctx.metadata.xpack.cluster_uuid}}"
4040
}
4141
},
4242
{

0 commit comments

Comments
 (0)