Skip to content

Commit bf22b87

Browse files
committed
Remove _type term filters from cluster alert watches (elastic#38819)
1 parent 57f6908 commit bf22b87

File tree

4 files changed

+8
-52
lines changed

4 files changed

+8
-52
lines changed

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

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,8 @@
4747
}
4848
},
4949
{
50-
"bool": {
51-
"should": [
52-
{
53-
"term": {
54-
"_type": "cluster_state"
55-
}
56-
},
57-
{
58-
"term": {
59-
"type": "cluster_stats"
60-
}
61-
}
62-
]
50+
"term": {
51+
"type": "cluster_stats"
6352
}
6453
},
6554
{

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

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,8 @@
4040
}
4141
},
4242
{
43-
"bool": {
44-
"should": [
45-
{
46-
"term": {
47-
"_type": "cluster_stats"
48-
}
49-
},
50-
{
51-
"term": {
52-
"type": "cluster_stats"
53-
}
54-
}
55-
]
43+
"term": {
44+
"type": "cluster_stats"
5645
}
5746
},
5847
{

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

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,8 @@
4444
}
4545
},
4646
{
47-
"bool": {
48-
"should": [
49-
{
50-
"term": {
51-
"_type": "kibana_stats"
52-
}
53-
},
54-
{
55-
"term": {
56-
"type": "kibana_stats"
57-
}
58-
}
59-
]
47+
"term": {
48+
"type": "kibana_stats"
6049
}
6150
}
6251
]

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

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,8 @@
4444
}
4545
},
4646
{
47-
"bool": {
48-
"should": [
49-
{
50-
"term": {
51-
"_type": "logstash_stats"
52-
}
53-
},
54-
{
55-
"term": {
56-
"type": "logstash_stats"
57-
}
58-
}
59-
]
47+
"term": {
48+
"type": "logstash_stats"
6049
}
6150
}
6251
]

0 commit comments

Comments
 (0)