Common data processing tasks
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.