I am trying to create an Alert Rule of 'Metric threshold' type where I am using the 'custom equation' condition option to calculate a percentage.
The details of the rule are bellow:
When custom equation is above or equal to 0.05
Aggregation A = Document count of query filter for field A
Aggregation B = Document count of query filter for field B
Even with A and B returning valid values, I got the following error at rule execution:
search_phase_execution_exception Caused by: script_exception: compile error, caused by: "compile error,cannot resolve symbol [B]"
I did a simple test changing the equation to A+B and it works.
Could this be a bug?