Can elastalert be triggered when the sum of a field for all documents that match a query exceeds some value? Say each document has a "price" value - Can elastalert be triggered when the sum of the "price" values over the last day exceeds 200, for example?
Example document:
{
type: "transaction",
price: 20.32
}
Example rule in english:
The sum of all documents where type = 'transaction' over the past hour exceeds 200