Documentation

Flux InfluxDB v1 package

InfluxDB v1 Flux functions provide tools for managing data from an InfluxDB v1.x database or structured using the InfluxDB v1 data structure. Import the influxdata/influxdb/v1 package:

import "influxdata/influxdb/v1"

Deprecated functions

In Flux 0.88.0, the following InfluxDB v1 package functions moved to the InfluxDB schema package. These functions are still available in the v1 package for backwards compatibility, but are deprecated in favor of schema.

Deprecated v1 functionCorresponding schema function
v1.fieldKeys()schema.fieldKeys()
v1.fieldsAsCols()schema.fieldsAsCols()
v1.measurementFieldKeys()schema.measurementFieldKeys()
v1.measurements()schema.measurements()
v1.measurementTagKeys()schema.measurementTagKeys()
v1.measurementTagValues()schema.measurementTagValues()
v1.tagKeys()schema.tagKeys()
v1.tagValues()schema.tagValues()

New! Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: