Merge pull request #2038 from influxdata/fix-related

Fix related links
pull/2044/head
Scott Anderson 2021-01-07 13:21:07 -07:00 committed by GitHub
commit 59b0253acc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
68 changed files with 156 additions and 157 deletions

View File

@ -178,10 +178,10 @@ Permission to copy shards.
Permission to create databases, create [retention policies](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#retention-policy-rp), alter retention policies, and view retention policies.
**Relevant InfluxQL queries**:
[`CREATE DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#create-database),
[`CREATE RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#create-retention-policies-with-create-retention-policy),
[`ALTER RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#modify-retention-policies-with-alter-retention-policy), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-retention-policies)
[`CREATE DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#create-database),
[`CREATE RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#create-retention-policies-with-create-retention-policy),
[`ALTER RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#modify-retention-policies-with-alter-retention-policy), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-retention-policies)
**Pages in Chronograf that require this permission**: Dashboards, Data Explorer, and Databases on the Admin page
@ -205,9 +205,9 @@ Permission to manage users and roles; create users, drop users, grant admin stat
Permission to drop data, in particular [series](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#series) and [measurements](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#measurement).
**Relevant InfluxQL queries**:
[`DROP SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#drop-series-from-the-index-with-drop-series),
[`DELETE`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-series-with-delete), and
[`DROP MEASUREMENT`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-measurements-with-drop-measurement)
[`DROP SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#drop-series-from-the-index-with-drop-series),
[`DELETE`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-series-with-delete), and
[`DROP MEASUREMENT`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-measurements-with-drop-measurement)
**Pages in Chronograf that require this permission**: NA
@ -215,8 +215,8 @@ Permission to drop data, in particular [series](/{{< latest "influxdb" "v1" >}}/
Permission to drop databases and retention policies.
**Relevant InfluxQL queries**:
[`DROP DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-a-database-with-drop-database) and
[`DROP RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-retention-policies-with-drop-retention-policy)
[`DROP DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-a-database-with-drop-database) and
[`DROP RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-retention-policies-with-drop-retention-policy)
**Pages in Chronograf that require this permission**: Data Explorer, Dashboards, Databases on the Admin page
@ -254,7 +254,7 @@ Permission to view and kill queries.
Permission to copy, delete, and view [shards](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#shard).
**Relevant InfluxQL queries**:
[`DropShardStatement`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-a-shard-with-drop-shard),
[`DropShardStatement`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-a-shard-with-drop-shard),
[`ShowShardGroupsStatement`](/{{< latest "influxdb" "v1" >}}/query_language/spec/#show-shard-groups), and
[`ShowShardsStatement`](/{{< latest "influxdb" "v1" >}}/query_language/spec/#show-shards)
@ -283,12 +283,12 @@ Permission to view cluster statistics and diagnostics.
Permission to read data.
**Relevant InfluxQL queries**:
[`SHOW FIELD KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-field-keys),
[`SHOW MEASUREMENTS`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-measurements),
[`SHOW SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-series),
[`SHOW TAG KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-keys),
[`SHOW TAG VALUES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-values), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-retention-policies)
[`SHOW FIELD KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-field-keys),
[`SHOW MEASUREMENTS`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-measurements),
[`SHOW SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-series),
[`SHOW TAG KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys),
[`SHOW TAG VALUES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-values), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-retention-policies)
**Pages in Chronograf that require this permission**: Admin, Alerting, Dashboards, Data Explorer, Host List

View File

@ -23,7 +23,7 @@ The following sections describe the Chronograf features that relate to the web a
### Web admin interface
In the web admin interface, users chose the target database in the top right corner and selected from a set of query templates in the `Query Templates` dropdown.
The templates included queries with no user-provided values (example: [`SHOW MEASUREMENTS`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-measurements)) and queries with user-provided values (example: [`SHOW TAG KEYS FROM "<measurement_name>"`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-keys)).
The templates included queries with no user-provided values (example: [`SHOW MEASUREMENTS`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-measurements)) and queries with user-provided values (example: [`SHOW TAG KEYS FROM "<measurement_name>"`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys)).
![WAI Query Templates](/img/chronograf/1-6-g-admin-webtemplates.png)

View File

@ -179,10 +179,10 @@ The **Single Stat** view displays the most recent value of the specified time se
![Single Stat view](/img/chronograf/1-6-viz-single-stat-selector.png)
If a cell's query includes a [`GROUP BY` tag](/{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#group-by-tags) clause, Chronograf sorts the different [series](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#series) lexicographically and shows the most recent [field value](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-value) associated with the first series.
If a cell's query includes a [`GROUP BY` tag](/{{< latest "influxdb" "v1" >}}/query_language/explore-data/#group-by-tags) clause, Chronograf sorts the different [series](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#series) lexicographically and shows the most recent [field value](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-value) associated with the first series.
For example, if a query groups by the `name` [tag key](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#tag-key) and `name` has two [tag values](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#tag-value) (`chronelda` and `chronz`), Chronograf shows the most recent field value associated with the `chronelda` series.
If a cell's query includes more than one [field key](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-key) in the [`SELECT` clause](/{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#select-clause), Chronograf returns the most recent field value associated with the first field key in the `SELECT` clause.
If a cell's query includes more than one [field key](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-key) in the [`SELECT` clause](/{{< latest "influxdb" "v1" >}}/query_language/explore-data/#select-clause), Chronograf returns the most recent field value associated with the first field key in the `SELECT` clause.
For example, if a query's `SELECT` clause is `SELECT "chronogiraffe","chronelda"`, Chronograf shows the most recent field value associated with the `chronogiraffe` field key.
#### Single Stat Controls

View File

@ -177,10 +177,10 @@ Permission to copy shards.
Permission to create databases, create [retention policies](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#retention-policy-rp), alter retention policies, and view retention policies.
**Relevant InfluxQL queries**:
[`CREATE DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#create-database),
[`CREATE RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#create-retention-policies-with-create-retention-policy),
[`ALTER RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#modify-retention-policies-with-alter-retention-policy), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-retention-policies)
[`CREATE DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#create-database),
[`CREATE RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#create-retention-policies-with-create-retention-policy),
[`ALTER RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#modify-retention-policies-with-alter-retention-policy), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-retention-policies)
**Pages in Chronograf that require this permission**: Dashboards, Data Explorer, and Databases on the Admin page
@ -204,9 +204,9 @@ Permission to manage users and roles; create users, drop users, grant admin stat
Permission to drop data, in particular [series](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#series) and [measurements](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#measurement).
**Relevant InfluxQL queries**:
[`DROP SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#drop-series-from-the-index-with-drop-series),
[`DELETE`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-series-with-delete), and
[`DROP MEASUREMENT`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-measurements-with-drop-measurement)
[`DROP SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#drop-series-from-the-index-with-drop-series),
[`DELETE`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-series-with-delete), and
[`DROP MEASUREMENT`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-measurements-with-drop-measurement)
**Pages in Chronograf that require this permission**: NA
@ -214,8 +214,8 @@ Permission to drop data, in particular [series](/{{< latest "influxdb" "v1" >}}/
Permission to drop databases and retention policies.
**Relevant InfluxQL queries**:
[`DROP DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-a-database-with-drop-database) and
[`DROP RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-retention-policies-with-drop-retention-policy)
[`DROP DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-a-database-with-drop-database) and
[`DROP RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-retention-policies-with-drop-retention-policy)
**Pages in Chronograf that require this permission**: Data Explorer, Dashboards, Databases on the Admin page
@ -253,7 +253,7 @@ Permission to view and kill queries.
Permission to copy, delete, and view [shards](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#shard).
**Relevant InfluxQL queries**:
[`DropShardStatement`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-a-shard-with-drop-shard),
[`DropShardStatement`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-a-shard-with-drop-shard),
[`ShowShardGroupsStatement`](/{{< latest "influxdb" "v1" >}}/query_language/spec/#show-shard-groups), and
[`ShowShardsStatement`](/{{< latest "influxdb" "v1" >}}/query_language/spec/#show-shards)
@ -282,12 +282,12 @@ Permission to view cluster statistics and diagnostics.
Permission to read data.
**Relevant InfluxQL queries**:
[`SHOW FIELD KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-field-keys),
[`SHOW MEASUREMENTS`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-measurements),
[`SHOW SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-series),
[`SHOW TAG KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-keys),
[`SHOW TAG VALUES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-values), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-retention-policies)
[`SHOW FIELD KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-field-keys),
[`SHOW MEASUREMENTS`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-measurements),
[`SHOW SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-series),
[`SHOW TAG KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys),
[`SHOW TAG VALUES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-values), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-retention-policies)
**Pages in Chronograf that require this permission**: Admin, Alerting, Dashboards, Data Explorer, Host List

View File

@ -23,7 +23,7 @@ The following sections describe the Chronograf features that relate to the web a
### Web admin interface
In the web admin interface, users chose the target database in the top right corner and selected from a set of query templates in the `Query Templates` dropdown.
The templates included queries with no user-provided values (example: [`SHOW MEASUREMENTS`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-measurements)) and queries with user-provided values (example: [`SHOW TAG KEYS FROM "<measurement_name>"`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-keys)).
The templates included queries with no user-provided values (example: [`SHOW MEASUREMENTS`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-measurements)) and queries with user-provided values (example: [`SHOW TAG KEYS FROM "<measurement_name>"`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys)).
![WAI Query Templates](/img/chronograf/1-6-g-admin-webtemplates.png)

View File

@ -179,10 +179,10 @@ The **Single Stat** view displays the most recent value of the specified time se
![Single Stat view](/img/chronograf/1-6-viz-single-stat-selector.png)
If a cell's query includes a [`GROUP BY` tag](/{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#group-by-tags) clause, Chronograf sorts the different [series](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#series) lexicographically and shows the most recent [field value](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-value) associated with the first series.
If a cell's query includes a [`GROUP BY` tag](/{{< latest "influxdb" "v1" >}}/query_language/explore-data/#group-by-tags) clause, Chronograf sorts the different [series](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#series) lexicographically and shows the most recent [field value](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-value) associated with the first series.
For example, if a query groups by the `name` [tag key](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#tag-key) and `name` has two [tag values](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#tag-value) (`chronelda` and `chronz`), Chronograf shows the most recent field value associated with the `chronelda` series.
If a cell's query includes more than one [field key](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-key) in the [`SELECT` clause](/{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#select-clause), Chronograf returns the most recent field value associated with the first field key in the `SELECT` clause.
If a cell's query includes more than one [field key](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-key) in the [`SELECT` clause](/{{< latest "influxdb" "v1" >}}/query_language/explore-data/#select-clause), Chronograf returns the most recent field value associated with the first field key in the `SELECT` clause.
For example, if a query's `SELECT` clause is `SELECT "chronogiraffe","chronelda"`, Chronograf shows the most recent field value associated with the `chronogiraffe` field key.
#### Single Stat Controls

View File

@ -186,10 +186,10 @@ Permission to copy shards.
Permission to create databases, create [retention policies](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#retention-policy-rp), alter retention policies, and view retention policies.
**Relevant InfluxQL queries**:
[`CREATE DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#create-database),
[`CREATE RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#create-retention-policies-with-create-retention-policy),
[`ALTER RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#modify-retention-policies-with-alter-retention-policy), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-retention-policies)
[`CREATE DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#create-database),
[`CREATE RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#create-retention-policies-with-create-retention-policy),
[`ALTER RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#modify-retention-policies-with-alter-retention-policy), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-retention-policies)
**Pages in Chronograf that require this permission**: Dashboards, Data Explorer, and Databases on the Admin page
@ -213,9 +213,9 @@ Permission to manage users and roles; create users, drop users, grant admin stat
Permission to drop data, in particular [series](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#series) and [measurements](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#measurement).
**Relevant InfluxQL queries**:
[`DROP SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#drop-series-from-the-index-with-drop-series),
[`DELETE`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-series-with-delete), and
[`DROP MEASUREMENT`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-measurements-with-drop-measurement)
[`DROP SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#drop-series-from-the-index-with-drop-series),
[`DELETE`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-series-with-delete), and
[`DROP MEASUREMENT`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-measurements-with-drop-measurement)
**Pages in Chronograf that require this permission**: NA
@ -223,8 +223,8 @@ Permission to drop data, in particular [series](/{{< latest "influxdb" "v1" >}}/
Permission to drop databases and retention policies.
**Relevant InfluxQL queries**:
[`DROP DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-a-database-with-drop-database) and
[`DROP RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-retention-policies-with-drop-retention-policy)
[`DROP DATABASE`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-a-database-with-drop-database) and
[`DROP RETENTION POLICY`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-retention-policies-with-drop-retention-policy)
**Pages in Chronograf that require this permission**: Data Explorer, Dashboards, Databases on the Admin page
@ -262,7 +262,7 @@ Permission to view and kill queries.
Permission to copy, delete, and view [shards](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#shard).
**Relevant InfluxQL queries**:
[`DropShardStatement`](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#delete-a-shard-with-drop-shard),
[`DropShardStatement`](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#delete-a-shard-with-drop-shard),
[`ShowShardGroupsStatement`](/{{< latest "influxdb" "v1" >}}/query_language/spec/#show-shard-groups), and
[`ShowShardsStatement`](/{{< latest "influxdb" "v1" >}}/query_language/spec/#show-shards)
@ -291,12 +291,12 @@ Permission to view cluster statistics and diagnostics.
Permission to read data.
**Relevant InfluxQL queries**:
[`SHOW FIELD KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-field-keys),
[`SHOW MEASUREMENTS`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-measurements),
[`SHOW SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-series),
[`SHOW TAG KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-keys),
[`SHOW TAG VALUES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-tag-values), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-retention-policies)
[`SHOW FIELD KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-field-keys),
[`SHOW MEASUREMENTS`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-measurements),
[`SHOW SERIES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-series),
[`SHOW TAG KEYS`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys),
[`SHOW TAG VALUES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-values), and
[`SHOW RETENTION POLICIES`](/{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-retention-policies)
**Pages in Chronograf that require this permission**: Admin, Alerting, Dashboards, Data Explorer, Host List

View File

@ -179,10 +179,10 @@ The **Single Stat** view displays the most recent value of the specified time se
![Single Stat view](/img/chronograf/1-6-viz-single-stat-selector.png)
If a cell's query includes a [`GROUP BY` tag](/{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#group-by-tags) clause, Chronograf sorts the different [series](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#series) lexicographically and shows the most recent [field value](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-value) associated with the first series.
If a cell's query includes a [`GROUP BY` tag](/{{< latest "influxdb" "v1" >}}/query_language/explore-data/#group-by-tags) clause, Chronograf sorts the different [series](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#series) lexicographically and shows the most recent [field value](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-value) associated with the first series.
For example, if a query groups by the `name` [tag key](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#tag-key) and `name` has two [tag values](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#tag-value) (`chronelda` and `chronz`), Chronograf shows the most recent field value associated with the `chronelda` series.
If a cell's query includes more than one [field key](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-key) in the [`SELECT` clause](/{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#select-clause), Chronograf returns the most recent field value associated with the first field key in the `SELECT` clause.
If a cell's query includes more than one [field key](/{{< latest "influxdb" "v1" >}}/concepts/glossary/#field-key) in the [`SELECT` clause](/{{< latest "influxdb" "v1" >}}/query_language/explore-data/#select-clause), Chronograf returns the most recent field value associated with the first field key in the `SELECT` clause.
For example, if a query's `SELECT` clause is `SELECT "chronogiraffe","chronelda"`, Chronograf shows the most recent field value associated with the `chronogiraffe` field key.
#### Single Stat Controls

View File

@ -10,7 +10,7 @@ menu:
parent: built-in-inputs
weight: 401
related:
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-databases, InfluxQL - SHOW DATABASES]()
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-databases, InfluxQL - SHOW DATABASES]()
---
The `buckets()` function returns a list of buckets in the organization.

View File

@ -10,7 +10,7 @@ menu:
parent: built-in-inputs
weight: 401
related:
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#from-clause, InfluxQL - FROM
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#from-clause, InfluxQL - FROM
---
The `from()` function retrieves data from an InfluxDB data source.

View File

@ -10,7 +10,7 @@ menu:
parent: built-in-outputs
weight: 401
related:
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-into-clause, InfluxQL  SELECT INTO
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-into-clause, InfluxQL  SELECT INTO
---
The `to()` function writes data to an **InfluxDB v2.0** bucket.

View File

@ -10,7 +10,7 @@ menu:
parent: built-in-outputs
weight: 401
related:
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-basic-select-statement, InfluxQL  SELECT AS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-basic-select-statement, InfluxQL  SELECT AS
---
The `yield()` function indicates the input tables received should be delivered as a result of the query.

View File

@ -13,10 +13,10 @@ menu:
parent: built-in-transformations
weight: 402
related:
- /{{< 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
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-measurements, InfluxQL  SHOW MEASUREMENTS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-field-keys, InfluxQL  SHOW FIELD KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys, InfluxQL  SHOW TAG KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys, InfluxQL  SHOW SERIES
---
The `columns()` function lists the column labels of input tables.

View File

@ -11,7 +11,7 @@ menu:
weight: 402
related:
- /influxdb/cloud/query-data/flux/fill/
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#group-by-time-intervals-and-fill, InfluxQL  FILL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#group-by-time-intervals-and-fill, InfluxQL  FILL
---
The `fill()` function replaces all null values in an input stream with a non-null value.

View File

@ -14,7 +14,7 @@ related:
- /influxdb/cloud/query-data/flux/query-fields/
- /influxdb/cloud/query-data/flux/conditional-logic/
- /influxdb/cloud/query-data/flux/exists/
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-basic-select-statement, InfluxQL SELECT
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-basic-select-statement, InfluxQL SELECT
---
The `filter()` function filters data based on conditions defined in a predicate function ([`fn`](#fn)).

View File

@ -11,7 +11,7 @@ menu:
weight: 402
related:
- /influxdb/cloud/query-data/flux/group-data/
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-group-by-clause, InfluxQL  GROUP BY
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-group-by-clause, InfluxQL  GROUP BY
---
The `group()` function groups records based on their values for specific columns.

View File

@ -13,10 +13,10 @@ menu:
parent: built-in-transformations
weight: 402
related:
- /{{< 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
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-measurements, InfluxQL SHOW MEASUREMENTS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-field-keys, InfluxQL SHOW FIELD KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys, InfluxQL SHOW TAG KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys, InfluxQL SHOW SERIES
---
The `keys()` function outputs the group key of input tables.

View File

@ -10,11 +10,11 @@ menu:
parent: built-in-transformations
weight: 402
related:
- /{{< 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
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-measurements, InfluxQL  SHOW MEASUREMENTS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-field-keys, InfluxQL  SHOW FIELD KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys, InfluxQL  SHOW TAG KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-values, InfluxQL  SHOW TAG VALUES
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-serie, InfluxQL  SHOW SERIES
---
The `keyValues()` function returns a table with the input table's group key plus two columns,

View File

@ -12,7 +12,7 @@ weight: 402
related:
- /influxdb/cloud/query-data/flux/sort-limit/
- /influxdb/cloud/reference/flux/stdlib/built-in/transformations/tail/
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-limit-and-slimit-clauses, InfluxQL LIMIT
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-limit-and-slimit-clauses, InfluxQL LIMIT
---
The `limit()` function limits each output table to the first [`n`](#n) records.

View File

@ -10,7 +10,7 @@ menu:
parent: built-in-transformations
weight: 402
related:
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-where-clause, InfluxQL WHERE
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-where-clause, InfluxQL WHERE
---
{{< duplicate-oss >}}

View File

@ -12,7 +12,7 @@ weight: 402
related:
- /influxdb/cloud/query-data/flux/window-aggregate/
- /influxdb/cloud/reference/flux/stdlib/built-in/transformations/aggregates/aggregatewindow/
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-group-by-clause, InfluxQL GROUP BY time()
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-group-by-clause, InfluxQL GROUP BY time()
---
The `window()` function groups records based on a time value.

View File

@ -11,7 +11,7 @@ aliases:
- /influxdb/cloud/reference/flux/functions/influxdb-v1/fieldkeys
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-field-keys, SHOW FIELD KEYS in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ aliases:
- /influxdb/cloud/reference/flux/functions/influxdb-v1/measurementfieldkeys/
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-field-keys, SHOW FIELD KEYS in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [measurements]
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-measurements, SHOW MEASUREMENTS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-measurements, SHOW MEASUREMENTS in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-keys, SHOW TAG KEYS in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-values, SHOW TAG VALUES in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-keys, SHOW TAG KEYS in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-values, SHOW TAG VALUES in InfluxQL
introduced: 0.88.0
---

View File

@ -7,7 +7,7 @@ menu:
parent: InfluxDB v1
weight: 301
related:
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-databases, SHOW DATABASES in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-databases, SHOW DATABASES in InfluxQL
---
The `v1.databases()` function returns a list of databases in an **InfluxDB 1.7+ instance**.

View File

@ -11,7 +11,7 @@ aliases:
- /influxdb/cloud/reference/flux/functions/influxdb-v1/fieldkeys
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-field-keys, SHOW FIELD KEYS in InfluxQL
introduced: 0.68.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ aliases:
- /influxdb/cloud/reference/flux/functions/influxdb-v1/measurementfieldkeys/
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-field-keys, SHOW FIELD KEYS in InfluxQL
introduced: 0.68.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [measurements]
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-measurements, SHOW MEASUREMENTS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-measurements, SHOW MEASUREMENTS in InfluxQL
introduced: 0.16.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-keys, SHOW TAG KEYS in InfluxQL
introduced: 0.16.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-values, SHOW TAG VALUES in InfluxQL
introduced: 0.16.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-keys, SHOW TAG KEYS in InfluxQL
introduced: 0.16.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/cloud/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-values, SHOW TAG VALUES in InfluxQL
introduced: 0.16.0
deprecated: 0.88.0
---

View File

@ -10,7 +10,7 @@ menu:
parent: built-in-inputs
weight: 401
related:
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration/#show-databases, InfluxQL - SHOW DATABASES]()
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-databases, InfluxQL - SHOW DATABASES]()
---
The `buckets()` function returns a list of buckets in the organization.

View File

@ -10,7 +10,7 @@ menu:
parent: built-in-inputs
weight: 401
related:
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#from-clause, InfluxQL - FROM
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#from-clause, InfluxQL - FROM
---
The `from()` function retrieves data from an InfluxDB data source.

View File

@ -10,7 +10,7 @@ menu:
parent: built-in-outputs
weight: 401
related:
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-into-clause, InfluxQL  SELECT INTO
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-into-clause, InfluxQL  SELECT INTO
---
The `to()` function writes data to an **InfluxDB v2.0** bucket.

View File

@ -10,7 +10,7 @@ menu:
parent: built-in-outputs
weight: 401
related:
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-basic-select-statement, InfluxQL  SELECT AS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-basic-select-statement, InfluxQL  SELECT AS
---
The `yield()` function indicates the input tables received should be delivered as a result of the query.

View File

@ -13,10 +13,10 @@ menu:
parent: built-in-transformations
weight: 402
related:
- /{{< 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
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-measurements, InfluxQL  SHOW MEASUREMENTS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-field-keys, InfluxQL  SHOW FIELD KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys, InfluxQL  SHOW TAG KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys, InfluxQL  SHOW SERIES
---
The `columns()` function lists the column labels of input tables.

View File

@ -11,7 +11,7 @@ menu:
weight: 402
related:
- /influxdb/v2.0/query-data/flux/fill/
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#group-by-time-intervals-and-fill, InfluxQL  FILL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#group-by-time-intervals-and-fill, InfluxQL  FILL
---
The `fill()` function replaces all null values in an input stream with a non-null value.

View File

@ -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/
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-basic-select-statement, InfluxQL SELECT
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-basic-select-statement, InfluxQL SELECT
---
The `filter()` function filters data based on conditions defined in a predicate function ([`fn`](#fn)).

View File

@ -11,7 +11,7 @@ menu:
weight: 402
related:
- /influxdb/v2.0/query-data/flux/group-data/
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-group-by-clause, InfluxQL  GROUP BY
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-group-by-clause, InfluxQL  GROUP BY
---
The `group()` function groups records based on their values for specific columns.

View File

@ -13,10 +13,10 @@ menu:
parent: built-in-transformations
weight: 402
related:
- /{{< 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
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-measurements, InfluxQL SHOW MEASUREMENTS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-field-keys, InfluxQL SHOW FIELD KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys, InfluxQL SHOW TAG KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys, InfluxQL SHOW SERIES
---
The `keys()` function outputs the group key of input tables.

View File

@ -10,11 +10,11 @@ menu:
parent: built-in-transformations
weight: 402
related:
- /{{< 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
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-measurements, InfluxQL  SHOW MEASUREMENTS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-field-keys, InfluxQL  SHOW FIELD KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-keys, InfluxQL  SHOW TAG KEYS
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-tag-values, InfluxQL  SHOW TAG VALUES
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema/#show-serie, InfluxQL  SHOW SERIES
---
The `keyValues()` function returns a table with the input table's group key plus two columns,

View File

@ -12,7 +12,7 @@ weight: 402
related:
- /influxdb/v2.0/query-data/flux/sort-limit/
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/tail/
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-limit-and-slimit-clauses, InfluxQL LIMIT
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-limit-and-slimit-clauses, InfluxQL LIMIT
---
The `limit()` function limits each output table to the first [`n`](#n) records.

View File

@ -10,7 +10,7 @@ menu:
parent: built-in-transformations
weight: 402
related:
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-where-clause, InfluxQL WHERE
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-where-clause, InfluxQL WHERE
---
The `range()` function filters records based on time bounds.

View File

@ -12,7 +12,7 @@ weight: 402
related:
- /influxdb/v2.0/query-data/flux/window-aggregate/
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/aggregatewindow/
- /{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#the-group-by-clause, InfluxQL GROUP BY time()
- /{{< latest "influxdb" "v1" >}}/query_language/explore-data/#the-group-by-clause, InfluxQL GROUP BY time()
---
The `window()` function groups records based on a time value.

View File

@ -11,7 +11,7 @@ aliases:
- /influxdb/v2.0/reference/flux/functions/influxdb-v1/fieldkeys
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-field-keys, SHOW FIELD KEYS in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ aliases:
- /influxdb/v2.0/reference/flux/functions/influxdb-v1/measurementfieldkeys/
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-field-keys, SHOW FIELD KEYS in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [measurements]
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-measurements, SHOW MEASUREMENTS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-measurements, SHOW MEASUREMENTS in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-keys, SHOW TAG KEYS in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-values, SHOW TAG VALUES in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-keys, SHOW TAG KEYS in InfluxQL
introduced: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-values, SHOW TAG VALUES in InfluxQL
introduced: 0.88.0
---

View File

@ -7,7 +7,7 @@ menu:
parent: InfluxDB v1
weight: 301
related:
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-databases, SHOW DATABASES in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-databases, SHOW DATABASES in InfluxQL
---
The `v1.databases()` function returns a list of databases in an **InfluxDB 1.7+ instance**.

View File

@ -11,7 +11,7 @@ aliases:
- /influxdb/v2.0/reference/flux/functions/influxdb-v1/fieldkeys
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-field-keys, SHOW FIELD KEYS in InfluxQL
introduced: 0.68.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ aliases:
- /influxdb/v2.0/reference/flux/functions/influxdb-v1/measurementfieldkeys/
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-field-keys, SHOW FIELD KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-field-keys, SHOW FIELD KEYS in InfluxQL
introduced: 0.68.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [measurements]
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-measurements, SHOW MEASUREMENTS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-measurements, SHOW MEASUREMENTS in InfluxQL
introduced: 0.16.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-keys, SHOW TAG KEYS in InfluxQL
introduced: 0.16.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-values, SHOW TAG VALUES in InfluxQL
introduced: 0.16.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-keys, SHOW TAG KEYS in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-keys, SHOW TAG KEYS in InfluxQL
introduced: 0.16.0
deprecated: 0.88.0
---

View File

@ -11,7 +11,7 @@ weight: 301
influxdb/v2.0/tags: [tags]
related:
- /influxdb/v2.0/query-data/flux/explore-schema/
- /{{< latest "influxdb" "v1" >}}/query_language/schema_exploration#show-tag-values, SHOW TAG VALUES in InfluxQL
- /{{< latest "influxdb" "v1" >}}/query_language/explore-schema#show-tag-values, SHOW TAG VALUES in InfluxQL
introduced: 0.16.0
deprecated: 0.88.0
---

View File

@ -917,7 +917,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.
<!-- See [Retention Policy management](/{{< latest "influxdb" "v1" >}}/query_language/database_management/#retention-policy-management) for more information.
<!-- See [Retention Policy management](/{{< latest "influxdb" "v1" >}}/query_language/manage-database/#retention-policy-management) for more information.
For example, given a retention policy with `SHARD DURATION` set to `1w`, each shard group will span a single week and contain all points with timestamps in that week.

View File

@ -239,7 +239,7 @@ errors
### Record Query and backfill with stream
To provide historical data to stream tasks that process multiple measurements,
use [multiple statements](/{{< latest "influxdb" "v1" >}}/query_language/data_exploration/#multiple-statements)
use [multiple statements](/{{< latest "influxdb" "v1" >}}/query_language/explore-data/#multiple-statements)
when recording the data.
First use `record query` following the pattern of this generic command:

View File

@ -30,7 +30,7 @@ For details about the configuration file, see [Get started with Telegraf](/{{< l
As reviewed above, Telegraf is sending system data, including CPU usage, to InfluxDB. There are two ways you can query your InfluxDB data:
* [In Chronograf with the Data Explorer.](/{{< latest "chronograf" >}}/guides/create-a-dashboard/#step-3-create-your-query) Use the builder to select from your existing data and allow Chronograf to format the query for you. Alternatively, manually enter and edit a query. You can move between using the builder and manually editing the query.
* [Using the command line interface.](/{{< latest "influxdb" "v1" >}}/query_language/data_exploration/)
* [Using the command line interface.](/{{< latest "influxdb" "v1" >}}/query_language/explore-data/)
**Query example:**

View File

@ -4,15 +4,11 @@
<h4 id="related">Related</h4>
<ul>
{{ range .Params.related }}
<!-- If an external link or API link -->
{{ if or (in . "http") (in . "/v2.0/api") (in . ", ")}}
{{ $link := replaceRE `\,\s(.*)$` "" . }}
{{ $title := replaceRE `^(\S*\,\s)` "" . }}
{{ $target := cond (in . "http") "_blank" "" }}
<li><a href="{{ $link }}" target="{{ $target }}">{{ $title }}</a></li>
{{ $scratch.Set "relatedItem" . }}
<!-- If path is using the latest shortcode -->
{{ else if (in . "{{< latest") }}
{{ if (in ($scratch.Get "relatedItem") "{{< latest") }}
{{ $product := replaceRE `[ \"]` "" (index (findRE ` \"\w*\"` .) 0) }}
{{ $majorVersion := replaceRE `[ \"]` "" (index (findRE ` \"\w*\"` .) 1) }}
{{ $minorVersions := (index $.Site.Data.products $product).versions }}
@ -29,26 +25,29 @@
{{ $productLatestVersion := $scratch.Get "latestVersion" }}
{{ $replaceLatest := replaceRE `\{\{\< latest \".*\" \>\}\}` (print $product "/" $productLatestVersion) . }}
{{ $scratch.Set "title" ""}}
{{ if in $replaceLatest "," }}
{{ $scratch.Set "title" (replaceRE `^.+?, ` "" $replaceLatest) }}
{{ end }}
{{ $scratch.Set "relatedItem" $replaceLatest }}
{{ end }}
{{ $link := replaceRE `\,\s(.*)$` "" $replaceLatest }}
{{ $title := $scratch.Get "title" }}
{{ $relatedItem := $scratch.Get "relatedItem" }}
{{ if gt (len $title) 0 }}
<li><a href="{{ $link }}">{{ $title }}</a></li>
{{ else }}
{{ $sanitizedPath := replaceRE `\/$` "" (print $replaceLatest) }}
{{ with $.Page.GetPage $sanitizedPath }}
<li><a href="{{ .RelPermalink }}" >{{ .Title }}</a></li>
{{ end }}
{{ end }}
{{ $scratch.Set "title" ""}}
{{ if in $relatedItem "," }}
{{ $scratch.Set "title" (replaceRE `^.+?, ` "" $relatedItem) }}
{{ end }}
{{ $link := replaceRE `\,\s(.*)$` "" $relatedItem }}
{{ $title := $scratch.Get "title" }}
<!-- If an external link or API link -->
{{ if or (in $relatedItem "http") (in $relatedItem "/v2.0/api") (in $relatedItem ",")}}
{{ $link := replaceRE `\,\s(.*)$` "" $relatedItem }}
{{ $title := replaceRE `^(\S*\,\s)` "" $relatedItem }}
{{ $target := cond (in . "http") "_blank" "" }}
<li><a href="{{ $link }}" target="{{ $target }}">{{ $title }}</a></li>
<!-- Automatically get page title and link from path -->
{{ else }}
{{ $sanitizedPath := replaceRE `\/$` "" (print .) }}
{{ $sanitizedPath := replaceRE `\/$` "" (print $relatedItem) }}
{{ with $.Page.GetPage $sanitizedPath }}
<li><a href="{{ .RelPermalink }}" >{{ .Title }}</a></li>
{{ end }}