Common data processing tasks

This page documents an earlier version of InfluxDB. InfluxDB v2.7 is the latest stable version. View this page in the v2.7 documentation.

The following articles walk through common task use cases.

Downsample data with InfluxDB

How to create a task that downsamples data much like continuous queries in previous versions of InfluxDB.

Calculate a weekly mean

Calculate a weekly mean and add it to a new bucket.

Convert results to JSON

Use json.encode() to convert query results to JSON and http.post() to send them to a URL endpoint.

tasks