Create alert on moving average

I’m trying to create an alert for a moving average metric. The query is as the following:

When creating the alert, I can specify which query - however not what particular metric in that particular query. I’ve tried to hide the primary metric (average fields.ElapsedInsec), but it still triggers on the primary metric.

2

Is it not possible to create an alert for a moving average value?

I have the same exact issue, where certain metric with running average gives incorrect results.
Data source is ES. metric goes as sum of the field.