Flux data scripting language
The following example illustrates pulling data from a bucket (similar to an InfluxQL database) for the last five minutes, filtering that data by the measurement and the cpu=cpu-total
tag, windowing the data in 1 minute intervals, and calculating the average of each window:
Instructions for enabling Flux in your InfluxDB configuration.
Get started with Flux, InfluxData’s new functional data scripting language. This step-by-step guide will walk you through the basics and get you on your way.