moving_average metric,
Advanced JSON Input
{
"model": "holt_winters",
"settings": {
"pad": true,
"period": 1008,
"type": "mult",
"alpha": 0.141,
"beta": 0.0437,
"gamma": 0.00222
},
"window": 4032
}
Resulting aggs
"aggs": {
"2": {
"date_histogram": {
"field": "@fields._start_datetime",
"interval": "10m",
"time_zone": "America/Denver",
"min_doc_count": 0
},
"aggs": {
"3": {
"moving_avg": {
"buckets_path": "_count"
}
}
}
}
}