INFLUXDB.FLUX

The INFLUXDB.FLUX function enables the execution of flux queries on a remote InfluxDB instance and the retrieval of the results as Geo Time Series which can further be manipulated within Warp 10 using WarpScript.

The parameter map must contain the following entries:

KeyDescription
urlURL of the InfluxDB endpoint to use.
userUser used for authentification. Mandatory if token is not specified.
passwordPassword associated with user. Mandatory if token is not specified.
tokenAccess token to use for connection to InfluxDB.
orgOrganization to use.
fluxFlux query to execute.
readTimeoutRead timeout used to execute read InfluxDB queries (in milliseconds). Optional - Default value from OkHttp lib.
writeTimeoutWrite timeout used to execute write InfluxDB queries (in milliseconds). Optional - Default value from OkHttp lib.

The results returned by flux each contain a table id, this table id is inserted as the value of special label _table in the returned Geo Time Series. If a series already contains a label _table, extra leading underscores will be added until no such label exists.

Signature