Fix link in v1.8/v1.7 Flux docs
parent
59040cf311
commit
bac16bd743
|
@ -187,7 +187,7 @@ topN = (tables=<-, n) =>
|
|||
|> limit(n: n)
|
||||
```
|
||||
|
||||
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) documentation._
|
||||
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/query-data/flux/custom-functions) documentation._
|
||||
|
||||
Using this new custom function `topN` and the `cpuUsageUser` data stream variable defined above,
|
||||
find the top five data points and yield the results.
|
||||
|
@ -220,7 +220,7 @@ Then using Flux's `sort()` and `limit()` functions to find the top `n` results i
|
|||
topN = (tables=<-, n) => tables |> sort(desc: true) |> limit(n: n)
|
||||
```
|
||||
|
||||
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) documentation._
|
||||
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/query-data/flux/custom-functions) documentation._
|
||||
|
||||
Using the `cpuUsageUser` data stream variable defined [above](#define-data-stream-variables),
|
||||
find the top five data points with the custom `topN` function and yield the results.
|
||||
|
|
|
@ -38,7 +38,7 @@ from(bucket:"telegraf/autogen")
|
|||
|
||||
## Flux functions
|
||||
Flux provides a number of functions that perform specific operations, transformations, and tasks.
|
||||
You can also [create custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) in your Flux queries.
|
||||
You can also [create custom functions](/{{< latest "influxdb" "v2" >}}/query-data/flux/custom-functions) in your Flux queries.
|
||||
_Functions are covered in detail in the [Flux functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib) documentation._
|
||||
|
||||
A common type of function used when transforming data queried from InfluxDB is an aggregate function.
|
||||
|
|
|
@ -187,7 +187,7 @@ topN = (tables=<-, n) =>
|
|||
|> limit(n: n)
|
||||
```
|
||||
|
||||
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) documentation._
|
||||
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/query-data/flux/custom-functions) documentation._
|
||||
|
||||
Using this new custom function `topN` and the `cpuUsageUser` data stream variable defined above,
|
||||
find the top five data points and yield the results.
|
||||
|
@ -220,7 +220,7 @@ Then using Flux's `sort()` and `limit()` functions to find the top `n` results i
|
|||
topN = (tables=<-, n) => tables |> sort(desc: true) |> limit(n: n)
|
||||
```
|
||||
|
||||
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) documentation._
|
||||
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/query-data-/flux/custom-functions) documentation._
|
||||
|
||||
Using the `cpuUsageUser` data stream variable defined [above](#define-data-stream-variables),
|
||||
find the top five data points with the custom `topN` function and yield the results.
|
||||
|
|
|
@ -38,7 +38,7 @@ from(bucket:"telegraf/autogen")
|
|||
|
||||
## Flux functions
|
||||
Flux provides a number of functions that perform specific operations, transformations, and tasks.
|
||||
You can also [create custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) in your Flux queries.
|
||||
You can also [create custom functions](/{{< latest "influxdb" "v2" >}}/query-data/flux/custom-functions) in your Flux queries.
|
||||
_Functions are covered in detail in the [Flux functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib) documentation._
|
||||
|
||||
A common type of function used when transforming data queried from InfluxDB is an aggregate function.
|
||||
|
|
Loading…
Reference in New Issue