[{"apiVersion":"influxdata.com/v2alpha1","kind":"Task","metadata":{"name":"task-downsample"},"spec":{"every":"{{ INFLUXMERGED.downsample.so_long_term.resolution }}","name":"Downsample","query":"import \"types\"\n\n\n\nfrom(bucket: \"telegraf/so_short_term\")\n    |> range(start: -task.every)\n    |> filter(fn: (r) => types.isNumeric(v: r._value))\n    |> aggregateWindow(every: task.every, fn: mean)\n    |> to(bucket: \"telegraf/so_long_term\")"}}]