Skip to content

Commit d535e15

Browse files
authored
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.
1 parent 3269d1b commit d535e15

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)