I'm getting dynamic execution circuit breaking error for many watchers in our environment saying that the input search query failed to compile.
What is the reason for the same. How can we avoid such errors at all?
Error:
Watcher:
"input": {
"search": {
"request": {
"search_type": "query_then_fetch",
"indices": [
"heartbeat-*"
],
"rest_total_hits_as_int": true,
"body": {
"query": {
"bool": {
"must": [
{
"range": {
"@timestamp": {
"gte": "now-5m"
}
}
},
{
"term": {
"monitor.name": "*******"
}
},
{
"term": {
"monitor.status": "down"
}
}
]
}
},
"size": 100
}
}
}
}