From 671964f515546aa53281cb46a76897975b1a70b2 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 19 Aug 2020 16:43:31 -0600 Subject: [PATCH] updated all latest links with latest shortcode, refactored related partial --- content/influxdb/v2.0/_index.md | 1 + content/influxdb/v2.0/example.md | 2 +- content/influxdb/v2.0/query-data/influxql.md | 4 ++-- .../influxdb/v2.0/reference/api/influxdb-1x/dbrp.md | 4 ++-- content/influxdb/v2.0/reference/config-options.md | 4 ++-- .../v2.0/reference/flux/stdlib/built-in/inputs/from.md | 2 +- .../v2.0/reference/flux/stdlib/built-in/outputs/to.md | 2 +- .../reference/flux/stdlib/built-in/outputs/yield.md | 2 +- .../transformations/aggregates/aggregatewindow.md | 4 ++-- .../built-in/transformations/aggregates/count.md | 2 +- .../built-in/transformations/aggregates/integral.md | 2 +- .../stdlib/built-in/transformations/aggregates/mean.md | 2 +- .../built-in/transformations/aggregates/median.md | 2 +- .../stdlib/built-in/transformations/aggregates/mode.md | 2 +- .../built-in/transformations/aggregates/quantile.md | 2 +- .../built-in/transformations/aggregates/spread.md | 2 +- .../built-in/transformations/aggregates/stddev.md | 2 +- .../stdlib/built-in/transformations/aggregates/sum.md | 2 +- .../transformations/chandemomentumoscillator.md | 2 +- .../flux/stdlib/built-in/transformations/columns.md | 8 ++++---- .../stdlib/built-in/transformations/cumulativesum.md | 2 +- .../flux/stdlib/built-in/transformations/derivative.md | 2 +- .../flux/stdlib/built-in/transformations/difference.md | 2 +- .../flux/stdlib/built-in/transformations/doubleema.md | 2 +- .../transformations/exponentialmovingaverage.md | 2 +- .../flux/stdlib/built-in/transformations/fill.md | 2 +- .../flux/stdlib/built-in/transformations/filter.md | 2 +- .../flux/stdlib/built-in/transformations/group.md | 2 +- .../stdlib/built-in/transformations/holtwinters.md | 2 +- .../stdlib/built-in/transformations/kaufmansama.md | 2 +- .../flux/stdlib/built-in/transformations/kaufmanser.md | 2 +- .../flux/stdlib/built-in/transformations/keys.md | 8 ++++---- .../flux/stdlib/built-in/transformations/keyvalues.md | 10 +++++----- .../flux/stdlib/built-in/transformations/limit.md | 2 +- .../stdlib/built-in/transformations/movingaverage.md | 2 +- .../flux/stdlib/built-in/transformations/range.md | 2 +- .../built-in/transformations/relativestrengthindex.md | 2 +- .../built-in/transformations/selectors/bottom.md | 2 +- .../built-in/transformations/selectors/distinct.md | 2 +- .../stdlib/built-in/transformations/selectors/first.md | 2 +- .../stdlib/built-in/transformations/selectors/last.md | 2 +- .../stdlib/built-in/transformations/selectors/max.md | 2 +- .../stdlib/built-in/transformations/selectors/min.md | 2 +- .../built-in/transformations/selectors/sample.md | 2 +- .../built-in/transformations/timedmovingaverage.md | 2 +- .../flux/stdlib/built-in/transformations/tripleema.md | 2 +- .../transformations/tripleexponentialderivative.md | 2 +- .../flux/stdlib/built-in/transformations/window.md | 2 +- .../reference/flux/stdlib/influxdb-v1/databases.md | 2 +- .../reference/flux/stdlib/influxdb-v1/fieldkeys.md | 2 +- .../flux/stdlib/influxdb-v1/measurementfieldkeys.md | 2 +- .../reference/flux/stdlib/influxdb-v1/measurements.md | 2 +- .../flux/stdlib/influxdb-v1/measurementtagkeys.md | 2 +- .../flux/stdlib/influxdb-v1/measurementtagvalues.md | 2 +- .../v2.0/reference/flux/stdlib/influxdb-v1/tagkeys.md | 2 +- .../reference/flux/stdlib/influxdb-v1/tagvalues.md | 2 +- content/influxdb/v2.0/reference/glossary.md | 8 ++++---- content/influxdb/v2.0/reference/sample-data.md | 2 +- content/influxdb/v2.0/security/enable-tls.md | 2 +- .../v2.0/visualize-data/variables/common-variables.md | 6 +++--- content/influxdb/v2.0/write-data/_index.md | 2 +- .../influxdb/v2.0/write-data/no-code/third-party.md | 6 +++--- .../v2.0/write-data/no-code/use-telegraf/_index.md | 2 +- .../use-telegraf-plugins/use-http-plugin.md | 2 +- 64 files changed, 85 insertions(+), 84 deletions(-) diff --git a/content/influxdb/v2.0/_index.md b/content/influxdb/v2.0/_index.md index cb0482ab4..4875621ef 100644 --- a/content/influxdb/v2.0/_index.md +++ b/content/influxdb/v2.0/_index.md @@ -1,4 +1,5 @@ --- +title: InfluxDB v2.0 documentation description: > InfluxDB is an open source time series database designed to handle high write and query loads. Learn how to use and leverage InfluxDB in use cases such as monitoring metrics, IoT data, and events. diff --git a/content/influxdb/v2.0/example.md b/content/influxdb/v2.0/example.md index 6e83f1909..e899b5d76 100644 --- a/content/influxdb/v2.0/example.md +++ b/content/influxdb/v2.0/example.md @@ -61,7 +61,7 @@ WHERE time > now() - 15m ### h3 This is a header3 This is a paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc rutrum, metus id scelerisque euismod, erat ante suscipit nibh, ac congue enim risus id est. Etiam tristique nisi et tristique auctor. Morbi eu bibendum erat. Sed ullamcorper, dui id lobortis efficitur, mauris odio pharetra neque, vel tempor odio dolor blandit justo. -![Test image](http://docs.influxdata.com/img/chronograf/v1.7/alerts-conditions.png) +![Test image](/img/chronograf/1-6-alerts-conditions.png) {{< img-hd src="/img/test-image-2.png" alt="Test Image" />}} diff --git a/content/influxdb/v2.0/query-data/influxql.md b/content/influxdb/v2.0/query-data/influxql.md index 254e7728b..5d15df203 100644 --- a/content/influxdb/v2.0/query-data/influxql.md +++ b/content/influxdb/v2.0/query-data/influxql.md @@ -45,8 +45,8 @@ By default, the `/query` compatibility endpoint returns results in **JSON**. To return results as **CSV**, include the `Accept: application/csv` header. ## Database and retention policy mapping -InfluxDB 2.0 combines the 1.x concept of [databases](https://docs.influxdata.com/influxdb/v1.8/concepts/glossary/#database) -and [retention policies](https://docs.influxdata.com/influxdb/v1.8/concepts/glossary/#retention-policy-rp) +InfluxDB 2.0 combines the 1.x concept of [databases](/influxdb/v1.8/concepts/glossary/#database) +and [retention policies](/influxdb/v1.8/concepts/glossary/#retention-policy-rp) into [buckets](/v2.0/reference/glossary/#bucket). To support InfluxDB 1.x query and write patterns in InfluxDB 2.0, databases and retention policies are mapped to buckets using the **database and retention policy (DBRP) mapping service**. diff --git a/content/influxdb/v2.0/reference/api/influxdb-1x/dbrp.md b/content/influxdb/v2.0/reference/api/influxdb-1x/dbrp.md index a2ff28ad8..86087d002 100644 --- a/content/influxdb/v2.0/reference/api/influxdb-1x/dbrp.md +++ b/content/influxdb/v2.0/reference/api/influxdb-1x/dbrp.md @@ -17,8 +17,8 @@ related: - /influxdb/v2.0/api/#tag/DBRPs, InfluxDB 2.0 API /dbrps endpoint --- -The InfluxDB 1.x data model includes [databases](https://docs.influxdata.com/influxdb/v1.8/concepts/glossary/#database) -and [retention policies](https://docs.influxdata.com/influxdb/v1.8/concepts/glossary/#retention-policy-rp). +The InfluxDB 1.x data model includes [databases](/influxdb/v1.8/concepts/glossary/#database) +and [retention policies](/influxdb/v1.8/concepts/glossary/#retention-policy-rp). InfluxDB 2.0 replaces both with [buckets](/v2.0/reference/glossary/#bucket). To support InfluxDB 1.x query and write patterns in InfluxDB 2.0, databases and retention policies are mapped to buckets using the **database and retention policy (DBRP) mapping service**. diff --git a/content/influxdb/v2.0/reference/config-options.md b/content/influxdb/v2.0/reference/config-options.md index fc722effa..b6ac32419 100644 --- a/content/influxdb/v2.0/reference/config-options.md +++ b/content/influxdb/v2.0/reference/config-options.md @@ -1056,7 +1056,7 @@ store = "bolt" Path to TLS certificate file. Requires the [`tls-key`](#tls-key) to be set. -_For more information, see [Enable TLS encryption](https://v2.docs.influxdata.com/v2.0/security/enable-tls/)._ +_For more information, see [Enable TLS encryption](/influxdb/v2.0/security/enable-tls/)._ | influxd flag | Environment variable | Configuration key | |:------------ |:-------------------- |:----------------- | @@ -1104,7 +1104,7 @@ tls-cert = "/path/to/influxdb.crt" Path to TLS key file. Requires the [`tls-cert`](#tls-cert) to be set. -_For more information, see [Enable TLS encryption](https://v2.docs.influxdata.com/v2.0/security/enable-tls/)._ +_For more information, see [Enable TLS encryption](/influxdb/v2.0/security/enable-tls/)._ | influxd flag | Environment variable | Configuration key | |:------------ |:-------------------- |:----------------- | diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/inputs/from.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/inputs/from.md index 17acb8c71..ac15d5bd1 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/inputs/from.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/inputs/from.md @@ -10,7 +10,7 @@ menu: parent: built-in-inputs weight: 401 related: - - https://docs.influxdata.com/influxdb/latest/query_language/data_exploration/#from-clause, InfluxQL - FROM + - /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#from-clause, InfluxQL - FROM --- The `from()` function retrieves data from an InfluxDB data source. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/outputs/to.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/outputs/to.md index 73b988668..b9282e9c8 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/outputs/to.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/outputs/to.md @@ -10,7 +10,7 @@ menu: parent: built-in-outputs weight: 401 related: - - https://docs.influxdata.com/influxdb/latest/query_language/data_exploration/#the-into-clause, InfluxQL – SELECT INTO + - /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-into-clause, InfluxQL – SELECT INTO --- The `to()` function writes data to an **InfluxDB v2.0** bucket. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/outputs/yield.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/outputs/yield.md index 864ba3fcf..829db7db7 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/outputs/yield.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/outputs/yield.md @@ -10,7 +10,7 @@ menu: parent: built-in-outputs weight: 401 related: - - https://docs.influxdata.com/influxdb/latest/query_language/data_exploration/#the-basic-select-statement, InfluxQL – SELECT AS + - /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-basic-select-statement, InfluxQL – SELECT AS --- The `yield()` function indicates the input tables received should be delivered as a result of the query. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/aggregatewindow.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/aggregatewindow.md index 3fbf280d6..680acd9b6 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/aggregatewindow.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/aggregatewindow.md @@ -11,8 +11,8 @@ menu: weight: 501 related: - /influxdb/v2.0/query-data/flux/window-aggregate/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#aggregations, InfluxQL – Aggregate functions - - https://docs.influxdata.com/influxdb/latest/query_language/explore-data/#the-group-by-clause, InfluxQL – GROUP BY time() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#aggregations, InfluxQL – Aggregate functions + - /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-group-by-clause, InfluxQL – GROUP BY time() --- The `aggregateWindow()` function applies an aggregate or selector function diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/count.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/count.md index e42b1c6c0..eeb91e4fc 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/count.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/count.md @@ -10,7 +10,7 @@ menu: parent: built-in-aggregates weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#count, InfluxQL – COUNT() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#count, InfluxQL – COUNT() --- The `count()` function outputs the number of records in a column. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/integral.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/integral.md index 03563a1aa..4d73b1f3e 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/integral.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/integral.md @@ -10,7 +10,7 @@ menu: parent: built-in-aggregates weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#integral, InfluxQL – INTEGRAL() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#integral, InfluxQL – INTEGRAL() --- The `integral()` function computes the area under the curve per [`unit`](#unit) of time of subsequent non-null records. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/mean.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/mean.md index 1e9ccd634..f7310e263 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/mean.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/mean.md @@ -10,7 +10,7 @@ menu: parent: built-in-aggregates weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#mean, InfluxQL – MEAN() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#mean, InfluxQL – MEAN() --- The `mean()` function computes the mean or average of non-null records in the input table. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/median.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/median.md index 1248e6e37..de7837567 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/median.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/median.md @@ -13,7 +13,7 @@ menu: weight: 501 related: - /influxdb/v2.0/query-data/flux/median/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#median, InfluxQL – MEDIAN() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#median, InfluxQL – MEDIAN() --- The `median()` function is a special application of the [`quantile()` function](/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/quantile) diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/mode.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/mode.md index 2cc471dfa..e6a8d2bf7 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/mode.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/mode.md @@ -11,7 +11,7 @@ menu: parent: built-in-aggregates weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#mode, InfluxQL – MODE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#mode, InfluxQL – MODE() --- The `mode()` function computes the mode or value that occurs most often in a diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/quantile.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/quantile.md index f3abf5e43..08e734abe 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/quantile.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/quantile.md @@ -12,7 +12,7 @@ menu: weight: 501 related: - /influxdb/v2.0/query-data/flux/percentile-quantile/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#percentile, InfluxQL – PERCENTILE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#percentile, InfluxQL – PERCENTILE() --- The `quantile()` function returns records from an input table with `_value`s that fall within diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/spread.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/spread.md index d9c3aba44..e07fbf0b6 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/spread.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/spread.md @@ -10,7 +10,7 @@ menu: parent: built-in-aggregates weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#spread, InfluxQL – SPREAD() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#spread, InfluxQL – SPREAD() --- The `spread()` function outputs the difference between the minimum and maximum values in a specified column. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/stddev.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/stddev.md index 1869ad038..69fc50237 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/stddev.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/stddev.md @@ -10,7 +10,7 @@ menu: parent: built-in-aggregates weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#stddev, InfluxQL – STDDEV() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#stddev, InfluxQL – STDDEV() --- The `stddev()` function computes the standard deviation of non-null records in a specified column. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/sum.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/sum.md index 7d2550424..ac40fe0f8 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/sum.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/sum.md @@ -10,7 +10,7 @@ menu: parent: built-in-aggregates weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#sum, InfluxQL – SUM() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#sum, InfluxQL – SUM() --- The `sum()` function computes the sum of non-null records in a specified column. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/chandemomentumoscillator.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/chandemomentumoscillator.md index 7d3f5db9b..c630b77fe 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/chandemomentumoscillator.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/chandemomentumoscillator.md @@ -12,7 +12,7 @@ menu: parent: built-in-transformations weight: 402 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#triple-exponential-moving-average, InfluxQL CHANDE_MOMENTUM_OSCILLATOR() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#triple-exponential-moving-average, InfluxQL CHANDE_MOMENTUM_OSCILLATOR() --- The `chandeMomentumOscillator()` function applies the technical momentum indicator diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/columns.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/columns.md index bfe583293..6f2ff1ee1 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/columns.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/columns.md @@ -13,10 +13,10 @@ menu: parent: built-in-transformations weight: 402 related: - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-measurements, InfluxQL – SHOW MEASUREMENTS - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-field-keys, InfluxQL – SHOW FIELD KEYS - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-tag-keys, InfluxQL – SHOW TAG KEYS - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-tag-keys, InfluxQL – SHOW SERIES + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-measurements, InfluxQL – SHOW MEASUREMENTS + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-field-keys, InfluxQL – SHOW FIELD KEYS + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-keys, InfluxQL – SHOW TAG KEYS + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-keys, InfluxQL – SHOW SERIES --- The `columns()` function lists the column labels of input tables. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/cumulativesum.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/cumulativesum.md index bd0b818ed..e99fe71ac 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/cumulativesum.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/cumulativesum.md @@ -11,7 +11,7 @@ menu: weight: 402 related: - /influxdb/v2.0/query-data/flux/cumulativesum/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#cumulative-sum, InfluxQL – CUMULATIVE_SUM() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#cumulative-sum, InfluxQL – CUMULATIVE_SUM() --- The `cumulativeSum()` function computes a running sum for non-null records in the table. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/derivative.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/derivative.md index b83aae938..94b20527f 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/derivative.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/derivative.md @@ -13,7 +13,7 @@ aliases: - /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/derivative related: - /influxdb/v2.0/query-data/flux/rate/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#derivative, InfluxQL – DERIVATIVE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#derivative, InfluxQL – DERIVATIVE() --- The `derivative()` function computes the rate of change per [`unit`](#unit) of time between subsequent non-null records. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/difference.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/difference.md index 35d4216cf..0dac079a5 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/difference.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/difference.md @@ -12,7 +12,7 @@ weight: 402 aliases: - /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/difference related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#difference, InfluxQL – DIFFERENCE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#difference, InfluxQL – DIFFERENCE() --- The `difference()` function computes the difference between subsequent records. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/doubleema.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/doubleema.md index 730de379d..05e250e3a 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/doubleema.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/doubleema.md @@ -17,7 +17,7 @@ related: - /v2.0/reference/flux/stdlib/built-in/transformations/tripleema/ - /v2.0/reference/flux/stdlib/built-in/transformations/timedmovingaverage/ - /v2.0/reference/flux/stdlib/built-in/transformations/exponentialmovingaverage/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#double-exponential-moving-average, InfluxQL DOUBLE_EXPONENTIAL_MOVING_AVERAGE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#double-exponential-moving-average, InfluxQL DOUBLE_EXPONENTIAL_MOVING_AVERAGE() --- The `doubleEMA()` function calculates the exponential moving average of values in diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/exponentialmovingaverage.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/exponentialmovingaverage.md index 66d6db567..8a7a02b79 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/exponentialmovingaverage.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/exponentialmovingaverage.md @@ -16,7 +16,7 @@ related: - /v2.0/reference/flux/stdlib/built-in/transformations/timedmovingaverage/ - /v2.0/reference/flux/stdlib/built-in/transformations/doubleema/ - /v2.0/reference/flux/stdlib/built-in/transformations/tripleema/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#exponential-moving-average, InfluxQL EXPONENTIAL_MOVING_AVERAGE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#exponential-moving-average, InfluxQL EXPONENTIAL_MOVING_AVERAGE() --- The `exponentialMovingAverage()` function calculates the exponential moving average of values diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/fill.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/fill.md index 471b590c0..f61f8fbe0 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/fill.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/fill.md @@ -11,7 +11,7 @@ menu: weight: 402 related: - /influxdb/v2.0/query-data/flux/fill/ - - https://docs.influxdata.com/influxdb/latest/query_language/data_exploration/#group-by-time-intervals-and-fill, InfluxQL – FILL + - /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#group-by-time-intervals-and-fill, InfluxQL – FILL --- The `fill()` function replaces all null values in an input stream with a non-null value. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/filter.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/filter.md index ef1eaef58..86c0417c9 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/filter.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/filter.md @@ -14,7 +14,7 @@ related: - /influxdb/v2.0/query-data/flux/query-fields/ - /influxdb/v2.0/query-data/flux/conditional-logic/ - /influxdb/v2.0/query-data/flux/exists/ - - https://docs.influxdata.com/influxdb/latest/query_language/data_exploration/#the-basic-select-statement, InfluxQL – SELECT + - /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-basic-select-statement, InfluxQL – SELECT --- The `filter()` function filters data based on conditions defined in a predicate function ([`fn`](#fn)). diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/group.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/group.md index 63c75ce26..e19e495db 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/group.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/group.md @@ -11,7 +11,7 @@ menu: weight: 402 related: - /influxdb/v2.0/query-data/flux/group-data/ - - https://docs.influxdata.com/influxdb/latest/query_language/data_exploration/#the-group-by-clause, InfluxQL – GROUP BY + - /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-group-by-clause, InfluxQL – GROUP BY --- The `group()` function groups records based on their values for specific columns. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/holtwinters.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/holtwinters.md index d143652c4..8dcf763f1 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/holtwinters.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/holtwinters.md @@ -12,7 +12,7 @@ menu: parent: built-in-transformations weight: 402 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#holt-winters, InfluxQL HOLT_WINTERS() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#holt-winters, InfluxQL HOLT_WINTERS() --- The `holtWinters()` function applies the Holt-Winters forecasting method to input tables. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/kaufmansama.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/kaufmansama.md index b6f960188..513b9217b 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/kaufmansama.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/kaufmansama.md @@ -13,7 +13,7 @@ menu: weight: 402 related: - /v2.0/reference/flux/stdlib/built-in/transformations/kaufmanser/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#kaufmans-adaptive-moving-average, InfluxQL KAUFMANS_ADAPTIVE_MOVING_AVERAGE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#kaufmans-adaptive-moving-average, InfluxQL KAUFMANS_ADAPTIVE_MOVING_AVERAGE() --- The `kaufmansAMA()` function calculates the Kaufman's Adaptive Moving Average (KAMA) diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/kaufmanser.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/kaufmanser.md index b7dc331f5..a0018ad0c 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/kaufmanser.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/kaufmanser.md @@ -13,7 +13,7 @@ menu: weight: 402 related: - /v2.0/reference/flux/stdlib/built-in/transformations/kaufmansama/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#kaufmans-efficiency-ratio, InfluxQL KAUFMANS_EFFICIENCY_RATIO() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#kaufmans-efficiency-ratio, InfluxQL KAUFMANS_EFFICIENCY_RATIO() --- The `kaufmansER()` function calculates the Kaufman's Efficiency Ratio (KER) using diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/keys.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/keys.md index 1c0a67ebc..4d3cd3e1f 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/keys.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/keys.md @@ -13,10 +13,10 @@ menu: parent: built-in-transformations weight: 402 related: - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-measurements, InfluxQL – SHOW MEASUREMENTS - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-field-keys, InfluxQL – SHOW FIELD KEYS - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-tag-keys, InfluxQL – SHOW TAG KEYS - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-tag-keys, InfluxQL – SHOW SERIES + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-measurements, InfluxQL – SHOW MEASUREMENTS + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-field-keys, InfluxQL – SHOW FIELD KEYS + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-keys, InfluxQL – SHOW TAG KEYS + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-keys, InfluxQL – SHOW SERIES --- The `keys()` function outputs the group key of input tables. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/keyvalues.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/keyvalues.md index 23604cbf6..9dfa826c9 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/keyvalues.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/keyvalues.md @@ -10,11 +10,11 @@ menu: parent: built-in-transformations weight: 402 related: - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-measurements, InfluxQL – SHOW MEASUREMENTS - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-field-keys, InfluxQL – SHOW FIELD KEYS - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-tag-keys, InfluxQL – SHOW TAG KEYS - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-tag-values, InfluxQL – SHOW TAG VALUES - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration/#show-serie, InfluxQL – SHOW SERIES + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-measurements, InfluxQL – SHOW MEASUREMENTS + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-field-keys, InfluxQL – SHOW FIELD KEYS + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-keys, InfluxQL – SHOW TAG KEYS + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-values, InfluxQL – SHOW TAG VALUES + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-serie, InfluxQL – SHOW SERIES --- The `keyValues()` function returns a table with the input table's group key plus two columns, diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/limit.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/limit.md index f67ce8a81..ea41326f5 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/limit.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/limit.md @@ -12,7 +12,7 @@ weight: 402 related: - /influxdb/v2.0/query-data/flux/sort-limit/ - /v2.0/reference/flux/stdlib/built-in/transformations/tail/ - - https://docs.influxdata.com/influxdb/latest/query_language/data_exploration/#the-limit-and-slimit-clauses, InfluxQL LIMIT + - /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-limit-and-slimit-clauses, InfluxQL LIMIT --- The `limit()` function limits each output table to the first [`n`](#n) records. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/movingaverage.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/movingaverage.md index 7ef9539f3..6b078f0e7 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/movingaverage.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/movingaverage.md @@ -16,7 +16,7 @@ related: - /v2.0/reference/flux/stdlib/built-in/transformations/exponentialmovingaverage/ - /v2.0/reference/flux/stdlib/built-in/transformations/doubleema/ - /v2.0/reference/flux/stdlib/built-in/transformations/tripleema/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#moving-average, InfluxQL MOVING_AVERAGE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#moving-average, InfluxQL MOVING_AVERAGE() --- The `movingAverage()` function calculates the mean of values in the `_values` column diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/range.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/range.md index 1a24eb3b3..51ac8c7c0 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/range.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/range.md @@ -10,7 +10,7 @@ menu: parent: built-in-transformations weight: 402 related: - - https://docs.influxdata.com/influxdb/latest/query_language/data_exploration/#the-where-clause, InfluxQL – WHERE + - /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-where-clause, InfluxQL – WHERE --- The `range()` function filters records based on time bounds. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/relativestrengthindex.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/relativestrengthindex.md index 2040f14cd..36109aeff 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/relativestrengthindex.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/relativestrengthindex.md @@ -15,7 +15,7 @@ related: - /v2.0/reference/flux/stdlib/built-in/transformations/movingaverage/ - /v2.0/reference/flux/stdlib/built-in/transformations/timedmovingaverage/ - /v2.0/reference/flux/stdlib/built-in/transformations/exponentialmovingaverage/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#relative-strength-index, InfluxQL RELATIVE_STRENGTH_INDEX() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#relative-strength-index, InfluxQL RELATIVE_STRENGTH_INDEX() --- The `relativeStrengthIndex()` function measures the relative speed and change of diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/bottom.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/bottom.md index 60c849c41..dba2faf54 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/bottom.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/bottom.md @@ -10,7 +10,7 @@ menu: parent: built-in-selectors weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#bottom, InfluxQL – BOTTOM() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#bottom, InfluxQL – BOTTOM() --- The `bottom()` function sorts a table by columns and keeps only the bottom `n` records. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/distinct.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/distinct.md index 2cc96b6b7..92b7a1c46 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/distinct.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/distinct.md @@ -10,7 +10,7 @@ menu: parent: built-in-selectors weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#distinct, InfluxQL – DISTINCT() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#distinct, InfluxQL – DISTINCT() --- The `distinct()` function returns the unique values for a given column. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/first.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/first.md index 96070251a..27356a88a 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/first.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/first.md @@ -11,7 +11,7 @@ menu: weight: 501 related: - /influxdb/v2.0/query-data/flux/first-last/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#first, InfluxQL – FIRST() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#first, InfluxQL – FIRST() --- The `first()` function selects the first non-null record from an input table. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/last.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/last.md index 02cedded6..8840a4d6f 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/last.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/last.md @@ -11,7 +11,7 @@ menu: weight: 501 related: - /influxdb/v2.0/query-data/flux/first-last/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#last, InfluxQL – LAST() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#last, InfluxQL – LAST() --- The `last()` function selects the last non-null record from an input table. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/max.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/max.md index 3576a0afc..552b08852 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/max.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/max.md @@ -10,7 +10,7 @@ menu: parent: built-in-selectors weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#max, InfluxQL – MAX() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#max, InfluxQL – MAX() --- The `max()` function selects record with the highest `_value` from the input table. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/min.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/min.md index 0b5c48cb0..c872b1ec3 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/min.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/min.md @@ -10,7 +10,7 @@ menu: parent: built-in-selectors weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#min, InfluxQL – MIN() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#min, InfluxQL – MIN() --- The `min()` function selects record with the lowest `_value` from the input table. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/sample.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/sample.md index f0b82e43c..f3b830643 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/sample.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/sample.md @@ -10,7 +10,7 @@ menu: parent: built-in-selectors weight: 501 related: - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#sample, InfluxQL – SAMPLE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#sample, InfluxQL – SAMPLE() --- The `sample()` function selects a subset of the records from the input table. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/timedmovingaverage.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/timedmovingaverage.md index a0a30c1e7..8d9f1ada2 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/timedmovingaverage.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/timedmovingaverage.md @@ -16,7 +16,7 @@ related: - /v2.0/reference/flux/stdlib/built-in/transformations/exponentialmovingaverage/ - /v2.0/reference/flux/stdlib/built-in/transformations/doubleema/ - /v2.0/reference/flux/stdlib/built-in/transformations/tripleema/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#moving-average, InfluxQL MOVING_AVERAGE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#moving-average, InfluxQL MOVING_AVERAGE() --- The `timedMovingAverage()` function calculates the mean of values in a defined time diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/tripleema.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/tripleema.md index 84c09f594..2af55021d 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/tripleema.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/tripleema.md @@ -17,7 +17,7 @@ related: - /v2.0/reference/flux/stdlib/built-in/transformations/doubleema/ - /v2.0/reference/flux/stdlib/built-in/transformations/timedmovingaverage/ - /v2.0/reference/flux/stdlib/built-in/transformations/exponentialmovingaverage/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#triple-exponential-moving-average, InfluxQL TRIPLE_EXPONENTIAL_MOVING_AVERAGE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#triple-exponential-moving-average, InfluxQL TRIPLE_EXPONENTIAL_MOVING_AVERAGE() --- The `tripleEMA()` function calculates the exponential moving average of values in diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/tripleexponentialderivative.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/tripleexponentialderivative.md index 4bac9835c..366235009 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/tripleexponentialderivative.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/tripleexponentialderivative.md @@ -18,7 +18,7 @@ related: - /v2.0/reference/flux/stdlib/built-in/transformations/tripleema/ - /v2.0/reference/flux/stdlib/built-in/transformations/timedmovingaverage/ - /v2.0/reference/flux/stdlib/built-in/transformations/exponentialmovingaverage/ - - https://docs.influxdata.com/influxdb/latest/query_language/functions/#triple-exponential-derivative, InfluxQL TRIPLE_EXPONENTIAL_DERIVATIVE() + - /{{< latest "influxdb" "v1" >}}/query_language/functions/#triple-exponential-derivative, InfluxQL TRIPLE_EXPONENTIAL_DERIVATIVE() --- The `tripleExponentialDerivative()` function calculates a triple exponential diff --git a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/window.md b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/window.md index 82b195c73..024dfc90d 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/window.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/window.md @@ -12,7 +12,7 @@ weight: 402 related: - /influxdb/v2.0/query-data/flux/window-aggregate/ - /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/aggregatewindow/ - - https://docs.influxdata.com/influxdb/latest/query_language/data_exploration/#the-group-by-clause, InfluxQL – GROUP BY time() + - /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-group-by-clause, InfluxQL – GROUP BY time() --- The `window()` function groups records based on a time value. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/databases.md b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/databases.md index c030e3546..996bc5426 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/databases.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/databases.md @@ -7,7 +7,7 @@ menu: parent: InfluxDB v1 weight: 301 related: - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration#show-databases, SHOW DATABASES in InfluxQL + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-databases, SHOW DATABASES in InfluxQL --- The `v1.databases()` function returns a list of databases in an **InfluxDB 1.7+ instance**. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/fieldkeys.md b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/fieldkeys.md index 44cc1616d..d86d93c90 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/fieldkeys.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/fieldkeys.md @@ -9,7 +9,7 @@ weight: 301 influxdb/v2.0/tags: [fields] related: - /influxdb/v2.0/query-data/flux/explore-schema/ - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL --- The `v1.fieldKeys()` function returns field keys in a bucket. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementfieldkeys.md b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementfieldkeys.md index eb65e7070..8fc9e52c1 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementfieldkeys.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementfieldkeys.md @@ -9,7 +9,7 @@ weight: 301 influxdb/v2.0/tags: [fields] related: - /influxdb/v2.0/query-data/flux/explore-schema/ - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL --- The `v1.measurementFieldKeys()` function returns a list of fields in a measurement. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurements.md b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurements.md index 08e674ad8..91aa0e2ad 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurements.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurements.md @@ -11,7 +11,7 @@ weight: 301 influxdb/v2.0/tags: [measurements] related: - /influxdb/v2.0/query-data/flux/explore-schema/ - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration#show-measurements, SHOW MEASUREMENTS in InfluxQL + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-measurements, SHOW MEASUREMENTS in InfluxQL --- The `v1.measurements()` function returns a list of measurements in a specific bucket. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagkeys.md b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagkeys.md index 433cdadba..df27528d6 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagkeys.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagkeys.md @@ -11,7 +11,7 @@ weight: 301 influxdb/v2.0/tags: [tags] related: - /influxdb/v2.0/query-data/flux/explore-schema/ - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL --- The `v1.measurementTagKeys()` function returns a list of tag keys for a specific measurement. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagvalues.md b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagvalues.md index 416a5cec7..b9a74f7ab 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagvalues.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagvalues.md @@ -11,7 +11,7 @@ weight: 301 influxdb/v2.0/tags: [tags] related: - /influxdb/v2.0/query-data/flux/explore-schema/ - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL --- The `v1.measurementTagValues()` function returns a list of tag values for a specific measurement. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/tagkeys.md b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/tagkeys.md index c1cda5a87..4eb48645e 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/tagkeys.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/tagkeys.md @@ -11,7 +11,7 @@ weight: 301 influxdb/v2.0/tags: [tags] related: - /influxdb/v2.0/query-data/flux/explore-schema/ - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL --- The `v1.tagKeys()` function returns a list of tag keys for all series that match the [`predicate`](#predicate). diff --git a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/tagvalues.md b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/tagvalues.md index c499976db..2417b8786 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/tagvalues.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/influxdb-v1/tagvalues.md @@ -11,7 +11,7 @@ weight: 301 influxdb/v2.0/tags: [tags] related: - /influxdb/v2.0/query-data/flux/explore-schema/ - - https://docs.influxdata.com/influxdb/latest/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL + - /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL --- The `v1.tagValues()` function returns a list unique values for a given tag. diff --git a/content/influxdb/v2.0/reference/glossary.md b/content/influxdb/v2.0/reference/glossary.md index 0c94ef20b..c5ace0343 100644 --- a/content/influxdb/v2.0/reference/glossary.md +++ b/content/influxdb/v2.0/reference/glossary.md @@ -860,7 +860,7 @@ The series cardinality would remain unchanged at 6, as `firstname` is already sc | cliff@influxdata.com | start | clifford | | cliff@influxdata.com | finish | clifford | - + Related entries: [field key](#field-key),[measurement](#measurement), [tag key](#tag-key), [tag set](#tag-set) @@ -910,7 +910,7 @@ Related entries: [series](#series), [shard duration](#shard-duration), [shard gr The shard duration determines how much time each shard group spans. The specific interval is determined by the `SHARD DURATION` of the retention policy. -