My use case requieres keeping the moving average over hours withing a windows of the last 12 hours, every time the transofrm is executed.
It's possible to use the "pivot" "group by" to program a transform that keeps track of the moving average?
My other option is think in logstash using http input, elasticsearcher as input, or filter and making the agregation every hour.