duplicate common queries in Cloud

pull/2040/head
Kelly 2021-01-07 09:21:11 -08:00
parent a9cd20ca98
commit fda10f907f
5 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,14 @@
---
title: Common queries
seotitle: Common queries with Flux
description: >
This collection of articles walks through common use cases for Flux queries.
influxdb/cloud/tags: [queries]
menu:
influxdb_cloud:
name: Common queries
parent: Query data
weight: 104
---
{{< duplicate-oss >}}

View File

@ -0,0 +1,13 @@
---
title: Use values to calculate a new column
description: >
Use the `map()` function to create a new column calculated from existing values in each row.
influxdb/cloud/tags: [queries]
menu:
influxdb_cloud:
name: Calculate a new column
parent: Common queries
weight: 104
---
{{< duplicate-oss >}}

View File

@ -0,0 +1,14 @@
---
title: Compare the last measurement to another bucket's mean
seotitle: Compare the last measurement to a mean stored in another bucket
description: >
Compare the value from the latest point to an average value stored in another bucket. This is useful when using the average value to calculate a threshold check.
influxdb/cloud/tags: [queries]
menu:
influxdb_cloud:
name: Compare values from different buckets
parent: Common queries
weight: 104
---
{{< duplicate-oss >}}

View File

@ -0,0 +1,13 @@
---
title: Find and count unique values
description: >
Count the number of unique values in a specified column.
influxdb/cloud/tags: [queries]
menu:
influxdb_cloud:
name: Count unique values
parent: Common queries
weight: 104
---
{{< duplicate-oss >}}

View File

@ -0,0 +1,12 @@
---
title: Recalculate the _value column
description: Recalculate the `_value` column without creating a new one.
influxdb/cloud/tags: [queries]
menu:
influxdb_cloud:
name: Recalculate the _value column
parent: Common queries
weight: 104
---
{{< duplicate-oss >}}