Enable Flux

Flux is packaged with InfluxDB v1.8+ and does not require any additional installation, however it is disabled by default and needs to be enabled.

Enable Flux

Enable Flux by setting the flux-enabled option to true under the [http] section of your influxdb.conf:

influxdb.conf
  1. # ...
  2. [http]
  3. # ...
  4. flux-enabled = true
  5. # ...

The default location of your influxdb.conf depends on your operating system. More information is available in the Configuring InfluxDB guide.

When InfluxDB starts, the Flux daemon starts as well and data can be queried using Flux.