Skip to content

Commit

Permalink
Remove _type term filters from cluster alert watches (elastic#38819)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Feb 13, 2019
1 parent 9171ce9 commit 61649a8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,8 @@
}
},
{
"bool": {
"should": [
{
"term": {
"_type": "cluster_state"
}
},
{
"term": {
"type": "cluster_stats"
}
}
]
"term": {
"type": "cluster_stats"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,8 @@
}
},
{
"bool": {
"should": [
{
"term": {
"_type": "cluster_stats"
}
},
{
"term": {
"type": "cluster_stats"
}
}
]
"term": {
"type": "cluster_stats"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,8 @@
}
},
{
"bool": {
"should": [
{
"term": {
"_type": "kibana_stats"
}
},
{
"term": {
"type": "kibana_stats"
}
}
]
"term": {
"type": "kibana_stats"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,8 @@
}
},
{
"bool": {
"should": [
{
"term": {
"_type": "logstash_stats"
}
},
{
"term": {
"type": "logstash_stats"
}
}
]
"term": {
"type": "logstash_stats"
}
}
]
Expand Down

0 comments on commit 61649a8

Please sign in to comment.