From bac16bd74337914ee009e66668c32d9a29ee8913 Mon Sep 17 00:00:00 2001 From: pierwill Date: Thu, 17 Sep 2020 13:39:03 -0700 Subject: [PATCH] Fix link in v1.8/v1.7 Flux docs --- content/influxdb/v1.7/flux/get-started/syntax-basics.md | 4 ++-- content/influxdb/v1.7/flux/get-started/transform-data.md | 2 +- content/influxdb/v1.8/flux/get-started/syntax-basics.md | 4 ++-- content/influxdb/v1.8/flux/get-started/transform-data.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/influxdb/v1.7/flux/get-started/syntax-basics.md b/content/influxdb/v1.7/flux/get-started/syntax-basics.md index 1aa95a235..ac496c384 100644 --- a/content/influxdb/v1.7/flux/get-started/syntax-basics.md +++ b/content/influxdb/v1.7/flux/get-started/syntax-basics.md @@ -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. diff --git a/content/influxdb/v1.7/flux/get-started/transform-data.md b/content/influxdb/v1.7/flux/get-started/transform-data.md index f56f11c15..ae1c5392e 100644 --- a/content/influxdb/v1.7/flux/get-started/transform-data.md +++ b/content/influxdb/v1.7/flux/get-started/transform-data.md @@ -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. diff --git a/content/influxdb/v1.8/flux/get-started/syntax-basics.md b/content/influxdb/v1.8/flux/get-started/syntax-basics.md index 714f0bf34..0364b5e6b 100644 --- a/content/influxdb/v1.8/flux/get-started/syntax-basics.md +++ b/content/influxdb/v1.8/flux/get-started/syntax-basics.md @@ -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. diff --git a/content/influxdb/v1.8/flux/get-started/transform-data.md b/content/influxdb/v1.8/flux/get-started/transform-data.md index 902d16434..4f83115bb 100644 --- a/content/influxdb/v1.8/flux/get-started/transform-data.md +++ b/content/influxdb/v1.8/flux/get-started/transform-data.md @@ -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.