added used function lists to influxdb v1 functions
parent
1274d9e38b
commit
742fafa127
|
@ -1,7 +1,8 @@
|
||||||
---
|
---
|
||||||
title: InfluxDB v1 Flux functions
|
title: InfluxDB v1 Flux functions
|
||||||
description: >
|
description: >
|
||||||
InfluxDB v1 Flux functions provide tools for managing data from an InfluxDB v1.x database.
|
InfluxDB v1 Flux functions provide tools for managing data from an InfluxDB v1.x
|
||||||
|
database or structured using the InfluxDB v1 data structure.
|
||||||
To use them, import the "influxdata/influxdb/v1" package.
|
To use them, import the "influxdata/influxdb/v1" package.
|
||||||
menu:
|
menu:
|
||||||
v2_0_ref:
|
v2_0_ref:
|
||||||
|
|
|
@ -43,3 +43,6 @@ fieldsAsCols = (tables=<-) =>
|
||||||
valueColumn: "_value"
|
valueColumn: "_value"
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_**Used functions:**
|
||||||
|
[pivot()](/v2.0/reference/flux/functions/built-in/transformations/pivot)_
|
||||||
|
|
|
@ -29,3 +29,6 @@ _**Data type:** String_
|
||||||
measurements = (bucket) =>
|
measurements = (bucket) =>
|
||||||
tagValues(bucket: bucket, tag: "_measurement")
|
tagValues(bucket: bucket, tag: "_measurement")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_**Used functions:**
|
||||||
|
[tagValues()](/v2.0/reference/flux/functions/influxdb-v1/tagvalues)_
|
||||||
|
|
|
@ -39,3 +39,6 @@ measurementTagKeys = (bucket, measurement) =>
|
||||||
bucket: bucket,
|
bucket: bucket,
|
||||||
predicate: (r) => r._measurement == measurement)
|
predicate: (r) => r._measurement == measurement)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_**Used functions:**
|
||||||
|
[tagKeys()](/v2.0/reference/flux/functions/influxdb-v1/tagkeys)_
|
||||||
|
|
|
@ -50,3 +50,6 @@ measurementTagValues = (bucket, measurement, tag) =>
|
||||||
predicate: (r) => r._measurement == measurement
|
predicate: (r) => r._measurement == measurement
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_**Used functions:**
|
||||||
|
[tagValues()](/v2.0/reference/flux/functions/influxdb-v1/tagvalues)_
|
||||||
|
|
|
@ -61,3 +61,10 @@ tagKeys = (bucket, predicate=(r) => true, start=-30d) =>
|
||||||
|> keys()
|
|> keys()
|
||||||
|> keep(columns: ["_value"])
|
|> keep(columns: ["_value"])
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_**Used functions:**
|
||||||
|
[from](/v2.0/reference/flux/functions/built-in/inputs/from/),
|
||||||
|
[range](/v2.0/reference/flux/functions/built-in/transformations/range/),
|
||||||
|
[filter](/v2.0/reference/flux/functions/built-in/transformations/filter/),
|
||||||
|
[keys](/v2.0/reference/flux/functions/built-in/transformations/keys/),
|
||||||
|
[keep](/v2.0/reference/flux/functions/built-in/transformations/keep/)_
|
||||||
|
|
|
@ -71,3 +71,11 @@ tagValues = (bucket, tag, predicate=(r) => true, start=-30d) =>
|
||||||
|> distinct(column: tag)
|
|> distinct(column: tag)
|
||||||
|> keep(columns: ["_value"])
|
|> keep(columns: ["_value"])
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_**Used functions:**
|
||||||
|
[from](/v2.0/reference/flux/functions/built-in/inputs/from/),
|
||||||
|
[range](/v2.0/reference/flux/functions/built-in/transformations/range/),
|
||||||
|
[filter](/v2.0/reference/flux/functions/built-in/transformations/filter/),
|
||||||
|
[group](/v2.0/reference/flux/functions/built-in/transformations/group/),
|
||||||
|
[distinct](/v2.0/reference/flux/functions/built-in/transformations/selectors/distinct/),
|
||||||
|
[keep](/v2.0/reference/flux/functions/built-in/transformations/keep/)_
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: String Flux functions
|
title: String Flux functions
|
||||||
description: placeholder
|
description: >
|
||||||
|
String functions provide tools for manipulating strings in Flux.
|
||||||
|
To use them, import the "strings" package:
|
||||||
menu:
|
menu:
|
||||||
v2_0_ref:
|
v2_0_ref:
|
||||||
name: Strings
|
name: Strings
|
||||||
|
@ -8,7 +10,7 @@ menu:
|
||||||
weight: 203
|
weight: 203
|
||||||
---
|
---
|
||||||
|
|
||||||
String functions provide tools for manipulating strings in flux.
|
String functions provide tools for manipulating strings in Flux.
|
||||||
To use them, import the `strings` package:
|
To use them, import the `strings` package:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|
Loading…
Reference in New Issue