InfluxDB 1.7 V2 equivalent (#1439)
* updated stable-version partial with v2 equivalent functionality * updated contributing with v2 frontmatter, resolves #1313 * updated logic of v2 equivalent pages * added v2 equivalents to influxdb 1.8 * influxdb v1.7 v2 equivalent linkspull/1440/head
parent
d6e5ffa8f1
commit
20e21bd53d
|
@ -5,6 +5,7 @@ menu:
|
||||||
name: Release notes
|
name: Release notes
|
||||||
weight: 10
|
weight: 10
|
||||||
parent: About the project
|
parent: About the project
|
||||||
|
v2: /influxdb/v2.0/reference/release-notes/influxdb/
|
||||||
---
|
---
|
||||||
|
|
||||||
## v1.7.10 [2020-02-07]
|
## v1.7.10 [2020-02-07]
|
||||||
|
|
|
@ -7,6 +7,7 @@ menu:
|
||||||
name: Authentication and authorization
|
name: Authentication and authorization
|
||||||
weight: 20
|
weight: 20
|
||||||
parent: Administration
|
parent: Administration
|
||||||
|
v2: /influxdb/v2.0/security/tokens/
|
||||||
---
|
---
|
||||||
|
|
||||||
This document covers setting up and managing authentication and authorization in InfluxDB.
|
This document covers setting up and managing authentication and authorization in InfluxDB.
|
||||||
|
|
|
@ -8,6 +8,7 @@ menu:
|
||||||
name: Backing up and restoring
|
name: Backing up and restoring
|
||||||
weight: 60
|
weight: 60
|
||||||
parent: Administration
|
parent: Administration
|
||||||
|
v2: /influxdb/v2.0/backup-restore/
|
||||||
---
|
---
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
|
@ -5,6 +5,7 @@ menu:
|
||||||
name: Configuring InfluxDB
|
name: Configuring InfluxDB
|
||||||
weight: 10
|
weight: 10
|
||||||
parent: Administration
|
parent: Administration
|
||||||
|
v2: /influxdb/v2.0/reference/config-options/
|
||||||
---
|
---
|
||||||
|
|
||||||
The InfluxDB open source (OSS) configuration file contains configuration settings specific to a local node.
|
The InfluxDB open source (OSS) configuration file contains configuration settings specific to a local node.
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
name: Enabling HTTPS
|
name: Enabling HTTPS
|
||||||
weight: 30
|
weight: 30
|
||||||
parent: Administration
|
parent: Administration
|
||||||
|
v2: /influxdb/v2.0/security/enable-tls/
|
||||||
---
|
---
|
||||||
|
|
||||||
Enable TLS to encrypt communication between clients and the InfluxDB server.
|
Enable TLS to encrypt communication between clients and the InfluxDB server.
|
||||||
|
|
|
@ -5,6 +5,7 @@ menu:
|
||||||
name: Managing security
|
name: Managing security
|
||||||
weight: 70
|
weight: 70
|
||||||
parent: Administration
|
parent: Administration
|
||||||
|
v2: /influxdb/v2.0/security/
|
||||||
---
|
---
|
||||||
|
|
||||||
Some customers may choose to install InfluxDB with public internet access, however
|
Some customers may choose to install InfluxDB with public internet access, however
|
||||||
|
|
|
@ -4,7 +4,7 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
name: Concepts
|
name: Concepts
|
||||||
weight: 30
|
weight: 30
|
||||||
|
v2: /influxdb/v2.0/reference/key-concepts/
|
||||||
---
|
---
|
||||||
|
|
||||||
Understanding the following concepts will help you get the most out of InfluxDB.
|
Understanding the following concepts will help you get the most out of InfluxDB.
|
||||||
|
|
|
@ -5,6 +5,8 @@ menu:
|
||||||
name: Glossary
|
name: Glossary
|
||||||
weight: 20
|
weight: 20
|
||||||
parent: Concepts
|
parent: Concepts
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/reference/glossary/
|
||||||
|
v2: /influxdb/v2.0/reference/glossary/
|
||||||
---
|
---
|
||||||
|
|
||||||
## aggregation
|
## aggregation
|
||||||
|
|
|
@ -5,6 +5,7 @@ menu:
|
||||||
name: InfluxDB design insights and tradeoffs
|
name: InfluxDB design insights and tradeoffs
|
||||||
weight: 40
|
weight: 40
|
||||||
parent: Concepts
|
parent: Concepts
|
||||||
|
v2: /influxdb/v2.0/reference/key-concepts/design-principles/
|
||||||
---
|
---
|
||||||
|
|
||||||
InfluxDB is a time series database.
|
InfluxDB is a time series database.
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
name: Key concepts
|
name: Key concepts
|
||||||
weight: 10
|
weight: 10
|
||||||
parent: Concepts
|
parent: Concepts
|
||||||
|
v2: /influxdb/v2.0/reference/key-concepts/
|
||||||
---
|
---
|
||||||
|
|
||||||
Before diving into InfluxDB it's good to get acquainted with some of the key concepts of the database.
|
Before diving into InfluxDB it's good to get acquainted with some of the key concepts of the database.
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
name: In-memory indexing with TSM
|
name: In-memory indexing with TSM
|
||||||
weight: 60
|
weight: 60
|
||||||
parent: Concepts
|
parent: Concepts
|
||||||
|
v2: /influxdb/v2.0/reference/internals/storage-engine/
|
||||||
---
|
---
|
||||||
|
|
||||||
## The InfluxDB storage engine and the Time-Structured Merge Tree (TSM)
|
## The InfluxDB storage engine and the Time-Structured Merge Tree (TSM)
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
name: Flux
|
name: Flux
|
||||||
weight: 80
|
weight: 80
|
||||||
|
v2: /influxdb/v2.0/query-data/get-started/
|
||||||
---
|
---
|
||||||
|
|
||||||
Flux is a functional data scripting language designed for querying, analyzing, and acting on time series data.
|
Flux is a functional data scripting language designed for querying, analyzing, and acting on time series data.
|
||||||
|
|
|
@ -11,6 +11,8 @@ menu:
|
||||||
weight: 2
|
weight: 2
|
||||||
aliases:
|
aliases:
|
||||||
- /influxdb/v1.7/flux/getting-started/
|
- /influxdb/v1.7/flux/getting-started/
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/get-started/
|
||||||
|
v2: /influxdb/v2.0/query-data/get-started/
|
||||||
---
|
---
|
||||||
|
|
||||||
Flux is InfluxData's new functional data scripting language designed for querying,
|
Flux is InfluxData's new functional data scripting language designed for querying,
|
||||||
|
|
|
@ -8,6 +8,8 @@ menu:
|
||||||
weight: 1
|
weight: 1
|
||||||
aliases:
|
aliases:
|
||||||
- /influxdb/v1.7/flux/getting-started/query-influxdb/
|
- /influxdb/v1.7/flux/getting-started/query-influxdb/
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/get-started/query-influxdb/
|
||||||
|
v2: /influxdb/v2.0/query-data/get-started/query-influxdb/
|
||||||
---
|
---
|
||||||
|
|
||||||
This guide walks through the basics of using Flux to query data from InfluxDB.
|
This guide walks through the basics of using Flux to query data from InfluxDB.
|
||||||
|
|
|
@ -8,6 +8,8 @@ menu:
|
||||||
weight: 3
|
weight: 3
|
||||||
aliases:
|
aliases:
|
||||||
- /influxdb/v1.7/flux/getting-started/syntax-basics/
|
- /influxdb/v1.7/flux/getting-started/syntax-basics/
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/get-started/syntax-basics/
|
||||||
|
v2: /influxdb/v2.0/query-data/get-started/syntax-basics/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@ menu:
|
||||||
weight: 2
|
weight: 2
|
||||||
aliases:
|
aliases:
|
||||||
- /influxdb/v1.7/flux/getting-started/transform-data/
|
- /influxdb/v1.7/flux/getting-started/transform-data/
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/get-started/transform-data/
|
||||||
|
v2: /influxdb/v2.0/query-data/get-started/transform-data/
|
||||||
---
|
---
|
||||||
|
|
||||||
When [querying data from InfluxDB](/influxdb/v1.7/flux/get-started/query-influxdb),
|
When [querying data from InfluxDB](/influxdb/v1.7/flux/get-started/query-influxdb),
|
||||||
|
|
|
@ -6,6 +6,8 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
name: Query with Flux
|
name: Query with Flux
|
||||||
parent: Flux
|
parent: Flux
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/
|
||||||
---
|
---
|
||||||
|
|
||||||
The following guides walk through both common and complex queries and use cases for Flux.
|
The following guides walk through both common and complex queries and use cases for Flux.
|
||||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 6
|
weight: 6
|
||||||
list_query_example: percentages
|
list_query_example: percentages
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/calculate-percentages/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/calculate-percentages/
|
||||||
---
|
---
|
||||||
|
|
||||||
Calculating percentages from queried data is a common use case for time series data.
|
Calculating percentages from queried data is a common use case for time series data.
|
||||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
||||||
name: Conditional logic
|
name: Conditional logic
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 20
|
weight: 20
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/conditional-logic/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/conditional-logic/
|
||||||
list_code_example: |
|
list_code_example: |
|
||||||
```js
|
```js
|
||||||
if color == "green" then "008000" else "ffffff"
|
if color == "green" then "008000" else "ffffff"
|
||||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
name: Cumulative sum
|
name: Cumulative sum
|
||||||
list_query_example: cumulative_sum
|
list_query_example: cumulative_sum
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/cumulativesum/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/cumulativesum/
|
||||||
---
|
---
|
||||||
|
|
||||||
Use the [`cumulativeSum()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/cumulativesum/)
|
Use the [`cumulativeSum()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/cumulativesum/)
|
||||||
|
|
|
@ -8,6 +8,7 @@ menu:
|
||||||
weight: 1
|
weight: 1
|
||||||
aliases:
|
aliases:
|
||||||
- /influxdb/v1.7/flux/guides/executing-queries/
|
- /influxdb/v1.7/flux/guides/executing-queries/
|
||||||
|
v2: /influxdb/v2.0/query-data/execute-queries/
|
||||||
---
|
---
|
||||||
|
|
||||||
There are multiple ways to execute Flux queries with InfluxDB and Chronograf v1.7+.
|
There are multiple ways to execute Flux queries with InfluxDB and Chronograf v1.7+.
|
||||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
||||||
name: Exists
|
name: Exists
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 20
|
weight: 20
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/exists/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/exists/
|
||||||
list_code_example: |
|
list_code_example: |
|
||||||
##### Filter null values
|
##### Filter null values
|
||||||
```js
|
```js
|
||||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
name: Fill
|
name: Fill
|
||||||
list_query_example: fill_null
|
list_query_example: fill_null
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/fill/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/fill/
|
||||||
---
|
---
|
||||||
|
|
||||||
Use the [`fill()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/fill/)
|
Use the [`fill()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/fill/)
|
||||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
name: First & last
|
name: First & last
|
||||||
list_query_example: first_last
|
list_query_example: first_last
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/first-last/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/first-last/
|
||||||
---
|
---
|
||||||
|
|
||||||
Use the [`first()`](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/selectors/first/) or
|
Use the [`first()`](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/selectors/first/) or
|
||||||
|
|
|
@ -8,6 +8,8 @@ menu:
|
||||||
name: Use Flux in dashboards
|
name: Use Flux in dashboards
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 30
|
weight: 30
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/flux-in-dashboards/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/flux-in-dashboards/
|
||||||
---
|
---
|
||||||
|
|
||||||
[Chronograf](/{{< latest "chronograf" >}}/) is the web user interface for managing for the
|
[Chronograf](/{{< latest "chronograf" >}}/) is the web user interface for managing for the
|
||||||
|
|
|
@ -11,6 +11,8 @@ weight: 2
|
||||||
aliases:
|
aliases:
|
||||||
- /influxdb/v1.7/flux/guides/grouping-data/
|
- /influxdb/v1.7/flux/guides/grouping-data/
|
||||||
list_query_example: group
|
list_query_example: group
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/group-data/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/group-data/
|
||||||
---
|
---
|
||||||
|
|
||||||
With Flux, you can group data by any column in your queried data set.
|
With Flux, you can group data by any column in your queried data set.
|
||||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 10
|
weight: 10
|
||||||
list_query_example: histogram
|
list_query_example: histogram
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/histograms/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/histograms/
|
||||||
---
|
---
|
||||||
|
|
||||||
Histograms provide valuable insight into the distribution of your data.
|
Histograms provide valuable insight into the distribution of your data.
|
||||||
|
|
|
@ -12,6 +12,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
name: Increase
|
name: Increase
|
||||||
list_query_example: increase
|
list_query_example: increase
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/increase/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/increase/
|
||||||
---
|
---
|
||||||
|
|
||||||
Use the [`increase()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/aggregates/increase/)
|
Use the [`increase()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/aggregates/increase/)
|
||||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 10
|
weight: 10
|
||||||
list_query_example: join
|
list_query_example: join
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/join/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/join/
|
||||||
---
|
---
|
||||||
|
|
||||||
The [`join()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/join) merges two or more
|
The [`join()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/join) merges two or more
|
||||||
|
|
|
@ -8,6 +8,8 @@ menu:
|
||||||
name: Manipulate timestamps
|
name: Manipulate timestamps
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 20
|
weight: 20
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/manipulate-timestamps/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/manipulate-timestamps/
|
||||||
---
|
---
|
||||||
|
|
||||||
Every point stored in InfluxDB has an associated timestamp.
|
Every point stored in InfluxDB has an associated timestamp.
|
||||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 5
|
weight: 5
|
||||||
list_query_example: map_math
|
list_query_example: map_math
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/mathematic-operations/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/mathematic-operations/
|
||||||
---
|
---
|
||||||
|
|
||||||
Flux supports mathematic expressions in data transformations.
|
Flux supports mathematic expressions in data transformations.
|
||||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
name: Median
|
name: Median
|
||||||
list_query_example: median
|
list_query_example: median
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/median/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/median/
|
||||||
---
|
---
|
||||||
|
|
||||||
Use the [`median()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/aggregates/median/)
|
Use the [`median()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/aggregates/median/)
|
||||||
|
|
|
@ -7,6 +7,8 @@ menu:
|
||||||
name: Monitor states
|
name: Monitor states
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 20
|
weight: 20
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/monitor-states/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/monitor-states/
|
||||||
---
|
---
|
||||||
|
|
||||||
Flux helps you monitor states in your metrics and events:
|
Flux helps you monitor states in your metrics and events:
|
||||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
name: Moving Average
|
name: Moving Average
|
||||||
list_query_example: moving_average
|
list_query_example: moving_average
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/moving-average/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/moving-average/
|
||||||
---
|
---
|
||||||
|
|
||||||
Use the [`movingAverage()`](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/aggregates/movingaverage/)
|
Use the [`movingAverage()`](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/aggregates/movingaverage/)
|
||||||
|
|
|
@ -7,6 +7,8 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
name: Optimize queries
|
name: Optimize queries
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/optimize-queries/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/optimize-queries/
|
||||||
---
|
---
|
||||||
|
|
||||||
Optimize your Flux queries to reduce their memory and compute (CPU) requirements.
|
Optimize your Flux queries to reduce their memory and compute (CPU) requirements.
|
||||||
|
|
|
@ -11,6 +11,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
name: Percentile & quantile
|
name: Percentile & quantile
|
||||||
list_query_example: quantile
|
list_query_example: quantile
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/percentile-quantile/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/percentile-quantile/
|
||||||
---
|
---
|
||||||
|
|
||||||
Use the [`quantile()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/aggregates/quantile/)
|
Use the [`quantile()` function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/aggregates/quantile/)
|
||||||
|
|
|
@ -9,6 +9,8 @@ weight: 1
|
||||||
menu:
|
menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/query-fields/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/query-fields/
|
||||||
list_code_example: |
|
list_code_example: |
|
||||||
```js
|
```js
|
||||||
from(bucket: "db/rp")
|
from(bucket: "db/rp")
|
||||||
|
|
|
@ -13,6 +13,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
name: Rate
|
name: Rate
|
||||||
list_query_example: rate_of_change
|
list_query_example: rate_of_change
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/rate/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/rate/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 20
|
weight: 20
|
||||||
list_query_example: regular_expressions
|
list_query_example: regular_expressions
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/regular-expressions/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/regular-expressions/
|
||||||
---
|
---
|
||||||
|
|
||||||
Regular expressions (regexes) are incredibly powerful when matching patterns in large collections of data.
|
Regular expressions (regexes) are incredibly powerful when matching patterns in large collections of data.
|
||||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
||||||
name: Extract scalar values
|
name: Extract scalar values
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 20
|
weight: 20
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/scalar-values/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/scalar-values/
|
||||||
list_code_example: |
|
list_code_example: |
|
||||||
```js
|
```js
|
||||||
scalarValue = {
|
scalarValue = {
|
||||||
|
|
|
@ -11,6 +11,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 3
|
weight: 3
|
||||||
list_query_example: sort_limit
|
list_query_example: sort_limit
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/sort-limit/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/sort-limit/
|
||||||
---
|
---
|
||||||
|
|
||||||
Use the [`sort()`function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/sort)
|
Use the [`sort()`function](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/built-in/transformations/sort)
|
||||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
list_title: SQL data
|
list_title: SQL data
|
||||||
weight: 20
|
weight: 20
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/sql/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/sql/
|
||||||
list_code_example: |
|
list_code_example: |
|
||||||
```js
|
```js
|
||||||
import "sql"
|
import "sql"
|
||||||
|
|
|
@ -11,6 +11,8 @@ menu:
|
||||||
parent: Query with Flux
|
parent: Query with Flux
|
||||||
weight: 4
|
weight: 4
|
||||||
list_query_example: aggregate_window
|
list_query_example: aggregate_window
|
||||||
|
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/window-aggregate/
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/window-aggregate/
|
||||||
---
|
---
|
||||||
|
|
||||||
A common operation performed with time series data is grouping data into windows of time,
|
A common operation performed with time series data is grouping data into windows of time,
|
||||||
|
|
|
@ -5,6 +5,7 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
weight: 50
|
weight: 50
|
||||||
parent: Guides
|
parent: Guides
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/calculate-percentages/
|
||||||
---
|
---
|
||||||
|
|
||||||
[InfluxQL](/influxdb/v1.7/query_language/) lets you perform simple math equations
|
[InfluxQL](/influxdb/v1.7/query_language/) lets you perform simple math equations
|
||||||
|
|
|
@ -4,6 +4,7 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
weight: 30
|
weight: 30
|
||||||
parent: Guides
|
parent: Guides
|
||||||
|
v2: /influxdb/v2.0/process-data/common-tasks/downsample-data/
|
||||||
---
|
---
|
||||||
|
|
||||||
InfluxDB can handle hundreds of thousands of data points per second.
|
InfluxDB can handle hundreds of thousands of data points per second.
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
weight: 20
|
weight: 20
|
||||||
parent: Guides
|
parent: Guides
|
||||||
|
v2: /influxdb/v2.0/query-data/
|
||||||
---
|
---
|
||||||
|
|
||||||
## Querying data with the InfluxDB API
|
## Querying data with the InfluxDB API
|
||||||
|
|
|
@ -5,6 +5,7 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
weight: 10
|
weight: 10
|
||||||
parent: Guides
|
parent: Guides
|
||||||
|
v2: /influxdb/v2.0/write-data/
|
||||||
---
|
---
|
||||||
|
|
||||||
Write data into InfluxDB using the [command line interface](/influxdb/v1.7/tools/shell/), [client libraries](/influxdb/v1.7/clients/api/), and plugins for common data formats such as [Graphite](/influxdb/v1.7/write_protocols/graphite/).
|
Write data into InfluxDB using the [command line interface](/influxdb/v1.7/tools/shell/), [client libraries](/influxdb/v1.7/clients/api/), and plugins for common data formats such as [Graphite](/influxdb/v1.7/write_protocols/graphite/).
|
||||||
|
|
|
@ -7,6 +7,7 @@ menu:
|
||||||
name: Getting started
|
name: Getting started
|
||||||
weight: 30
|
weight: 30
|
||||||
parent: Introduction
|
parent: Introduction
|
||||||
|
v2: /influxdb/v2.0/get-started/
|
||||||
---
|
---
|
||||||
|
|
||||||
With InfluxDB open source (OSS) [installed](/influxdb/v1.7/introduction/installation), you're ready to start doing some awesome things.
|
With InfluxDB open source (OSS) [installed](/influxdb/v1.7/introduction/installation), you're ready to start doing some awesome things.
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
name: Continuous Queries
|
name: Continuous Queries
|
||||||
weight: 50
|
weight: 50
|
||||||
parent: InfluxQL
|
parent: InfluxQL
|
||||||
|
v2: /influxdb/v2.0/process-data/
|
||||||
---
|
---
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
|
@ -6,12 +6,13 @@ menu:
|
||||||
parent: InfluxQL
|
parent: InfluxQL
|
||||||
aliases:
|
aliases:
|
||||||
- /influxdb/v1.7/sample_data/data_download/
|
- /influxdb/v1.7/sample_data/data_download/
|
||||||
|
v2: /influxdb/v2.0/reference/sample-data/
|
||||||
---
|
---
|
||||||
|
|
||||||
In order to explore the query language further, these instructions help you create a database,
|
In order to explore the query language further, these instructions help you create a database,
|
||||||
download and write data to that database within your InfluxDB installation.
|
download and write data to that database within your InfluxDB installation.
|
||||||
The sample data is then used and referenced in [Data Exploration](../../query_language/data_exploration/),
|
The sample data is then used and referenced in [Data Exploration](/influxdb/v1.7/query_language/data_exploration/),
|
||||||
[Schema Exploration](../../query_language/schema_exploration/), and [Functions](../../query_language/functions/).
|
[Schema Exploration](/influxdb/v1.7/query_language/schema_exploration/), and [Functions](/influxdb/v1.7/query_language/functions/).
|
||||||
|
|
||||||
## Creating a database
|
## Creating a database
|
||||||
|
|
||||||
|
@ -60,7 +61,7 @@ From your terminal, download the text file that contains the data in [line proto
|
||||||
curl https://s3.amazonaws.com/noaa.water-database/NOAA_data.txt -o NOAA_data.txt
|
curl https://s3.amazonaws.com/noaa.water-database/NOAA_data.txt -o NOAA_data.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Write the data to InfluxDB via the [CLI](../../tools/shell/):
|
Write the data to InfluxDB via the [CLI](/influxdb/v1.7/tools/shell/):
|
||||||
```
|
```
|
||||||
influx -import -path=NOAA_data.txt -precision=s -database=NOAA_water_database
|
influx -import -path=NOAA_data.txt -precision=s -database=NOAA_water_database
|
||||||
```
|
```
|
||||||
|
@ -114,8 +115,8 @@ The sample data is publicly available data from the [National Oceanic and Atmosp
|
||||||
The data include 15,258 observations of water levels (ft) collected every six minutes at two stations (Santa Monica, CA (ID 9410840) and Coyote Creek, CA (ID 9414575)) over the period from August 18, 2015 through September 18, 2015.
|
The data include 15,258 observations of water levels (ft) collected every six minutes at two stations (Santa Monica, CA (ID 9410840) and Coyote Creek, CA (ID 9414575)) over the period from August 18, 2015 through September 18, 2015.
|
||||||
|
|
||||||
Note that the measurements `average_temperature`, `h2o_pH`, `h2o_quality`, and `h2o_temperature` contain fictional data.
|
Note that the measurements `average_temperature`, `h2o_pH`, `h2o_quality`, and `h2o_temperature` contain fictional data.
|
||||||
Those measurements serve to illuminate query functionality in [Schema Exploration](../../query_language/schema_exploration/).
|
Those measurements serve to illuminate query functionality in [Schema Exploration](/influxdb/v1.7/query_language/schema_exploration/).
|
||||||
|
|
||||||
|
|
||||||
The `h2o_feet` measurement is the only measurement that contains the NOAA data.
|
The `h2o_feet` measurement is the only measurement that contains the NOAA data.
|
||||||
Please note that the `level description` field isn't part of the original NOAA data - we snuck it in there for the sake of having a field key with a special character and string [field values](../../concepts/glossary/#field-value).
|
Please note that the `level description` field isn't part of the original NOAA data - we snuck it in there for the sake of having a field key with a special character and string [field values](/influxdb/v1.7/concepts/glossary/#field-value).
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
name: Data exploration
|
name: Data exploration
|
||||||
weight: 20
|
weight: 20
|
||||||
parent: InfluxQL
|
parent: InfluxQL
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/query-fields/
|
||||||
---
|
---
|
||||||
|
|
||||||
InfluxQL is an SQL-like query language for interacting with data in InfluxDB.
|
InfluxQL is an SQL-like query language for interacting with data in InfluxDB.
|
||||||
|
|
|
@ -5,6 +5,7 @@ menu:
|
||||||
name: Schema exploration
|
name: Schema exploration
|
||||||
weight: 30
|
weight: 30
|
||||||
parent: InfluxQL
|
parent: InfluxQL
|
||||||
|
v2: /influxdb/v2.0/query-data/flux/explore-schema/
|
||||||
---
|
---
|
||||||
|
|
||||||
InfluxQL is an SQL-like query language for interacting with data in InfluxDB.
|
InfluxQL is an SQL-like query language for interacting with data in InfluxDB.
|
||||||
|
|
|
@ -7,7 +7,7 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
name: Tools
|
name: Tools
|
||||||
weight: 60
|
weight: 60
|
||||||
|
v2: /influxdb/v2.0/tools/
|
||||||
---
|
---
|
||||||
|
|
||||||
This section covers the available tools for interacting with InfluxDB.
|
This section covers the available tools for interacting with InfluxDB.
|
||||||
|
|
|
@ -8,6 +8,7 @@ menu:
|
||||||
name: InfluxDB API reference
|
name: InfluxDB API reference
|
||||||
weight: 20
|
weight: 20
|
||||||
parent: Tools
|
parent: Tools
|
||||||
|
v2: /influxdb/v2.0/reference/api/
|
||||||
---
|
---
|
||||||
|
|
||||||
The InfluxDB API provides a simple way to interact with the database.
|
The InfluxDB API provides a simple way to interact with the database.
|
||||||
|
|
|
@ -9,6 +9,7 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
weight: 30
|
weight: 30
|
||||||
parent: Tools
|
parent: Tools
|
||||||
|
v2: /influxdb/v2.0/tools/client-libraries/
|
||||||
---
|
---
|
||||||
|
|
||||||
InfluxDB client libraries are developed by the open source community. These client libraries support the InfluxDB 1.7 API and should be fully compatible with InfluxDB 1.5+. Functionality will vary as there are no standard features that all libraries must implement in order to be listed here.
|
InfluxDB client libraries are developed by the open source community. These client libraries support the InfluxDB 1.7 API and should be fully compatible with InfluxDB 1.5+. Functionality will vary as there are no standard features that all libraries must implement in order to be listed here.
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
url: "https://grafana.com/docs/grafana/latest/features/datasources/influxdb/"
|
url: "https://grafana.com/docs/grafana/latest/features/datasources/influxdb/"
|
||||||
weight: 60
|
weight: 60
|
||||||
parent: Tools
|
parent: Tools
|
||||||
|
v2: /influxdb/v2.0/tools/grafana/
|
||||||
---
|
---
|
||||||
|
|
||||||
Please see [Grafana's InfluxDB documentation](https://grafana.com/docs/grafana/latest/features/datasources/influxdb/).
|
Please see [Grafana's InfluxDB documentation](https://grafana.com/docs/grafana/latest/features/datasources/influxdb/).
|
||||||
|
|
|
@ -5,6 +5,7 @@ menu:
|
||||||
name: influx
|
name: influx
|
||||||
weight: 10
|
weight: 10
|
||||||
parent: Tools
|
parent: Tools
|
||||||
|
v2: /influxdb/v2.0/reference/cli/influx/
|
||||||
---
|
---
|
||||||
|
|
||||||
The `influx` command line interface (CLI) includes commands to manage many aspects of InfluxDB, including databases, organizations, users, and tasks.
|
The `influx` command line interface (CLI) includes commands to manage many aspects of InfluxDB, including databases, organizations, users, and tasks.
|
||||||
|
|
|
@ -5,6 +5,7 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
weight: 50
|
weight: 50
|
||||||
parent: Tools
|
parent: Tools
|
||||||
|
v2: /influxdb/v2.0/reference/cli/influxd/inspect/
|
||||||
---
|
---
|
||||||
|
|
||||||
Influx Inspect is an InfluxDB disk utility that can be used to:
|
Influx Inspect is an InfluxDB disk utility that can be used to:
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
name: influxd
|
name: influxd
|
||||||
weight: 10
|
weight: 10
|
||||||
parent: Tools
|
parent: Tools
|
||||||
|
v2: /influxdb/v2.0/reference/cli/influxd/
|
||||||
---
|
---
|
||||||
|
|
||||||
The `influxd` command line interface (CLI) starts and runs all the processes necessary for InfluxDB to function.
|
The `influxd` command line interface (CLI) starts and runs all the processes necessary for InfluxDB to function.
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
name: influxd backup
|
name: influxd backup
|
||||||
weight: 10
|
weight: 10
|
||||||
parent: influxd
|
parent: influxd
|
||||||
|
v2: /influxdb/v2.0/reference/cli/influx/backup/
|
||||||
---
|
---
|
||||||
|
|
||||||
The `influxd backup` command crates a backup copy of specified InfluxDB OSS database(s) and saves the files in an Enterprise-compatible format to PATH (directory where backups are saved).
|
The `influxd backup` command crates a backup copy of specified InfluxDB OSS database(s) and saves the files in an Enterprise-compatible format to PATH (directory where backups are saved).
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
name: influxd restore
|
name: influxd restore
|
||||||
weight: 10
|
weight: 10
|
||||||
parent: influxd
|
parent: influxd
|
||||||
|
v2: /influxdb/v2.0/reference/cli/influxd/restore/
|
||||||
---
|
---
|
||||||
The `influxd restore` command restores backup data and metadata from an InfluxDB backup directory.
|
The `influxd restore` command restores backup data and metadata from an InfluxDB backup directory.
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
name: influxd run
|
name: influxd run
|
||||||
weight: 10
|
weight: 10
|
||||||
parent: influxd
|
parent: influxd
|
||||||
|
v2: /influxdb/v2.0/reference/cli/influxd/run/
|
||||||
---
|
---
|
||||||
|
|
||||||
The `influxd run` command is the default command for `influxd`.
|
The `influxd run` command is the default command for `influxd`.
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
name: influxd version
|
name: influxd version
|
||||||
weight: 10
|
weight: 10
|
||||||
parent: influxd
|
parent: influxd
|
||||||
|
v2: /influxdb/v2.0/reference/cli/influxd/version/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
name: Write protocols
|
name: Write protocols
|
||||||
weight: 80
|
weight: 80
|
||||||
|
v2: /influxdb/v2.0/reference/syntax/line-protocol/
|
||||||
---
|
---
|
||||||
|
|
||||||
The InfluxDB line protocol is a text based format for writing points to InfluxDB databases.
|
The InfluxDB line protocol is a text based format for writing points to InfluxDB databases.
|
||||||
|
|
|
@ -8,6 +8,7 @@ menu:
|
||||||
weight: 10
|
weight: 10
|
||||||
parent: Write protocols
|
parent: Write protocols
|
||||||
canonical: /{{< latest "influxdb" "v2" >}}/reference/syntax/line-protocol/
|
canonical: /{{< latest "influxdb" "v2" >}}/reference/syntax/line-protocol/
|
||||||
|
v2: /influxdb/v2.0/reference/syntax/line-protocol/
|
||||||
---
|
---
|
||||||
|
|
||||||
InfluxDB line protocol is a text based format for writing points to InfluxDB.
|
InfluxDB line protocol is a text based format for writing points to InfluxDB.
|
||||||
|
|
|
@ -6,6 +6,7 @@ menu:
|
||||||
influxdb_1_7:
|
influxdb_1_7:
|
||||||
weight: 20
|
weight: 20
|
||||||
parent: Write protocols
|
parent: Write protocols
|
||||||
|
v2: /influxdb/v2.0/reference/syntax/line-protocol/
|
||||||
---
|
---
|
||||||
|
|
||||||
The InfluxDB line protocol is a text based format for writing points to the
|
The InfluxDB line protocol is a text based format for writing points to the
|
||||||
|
|
|
@ -6,13 +6,12 @@ description: >
|
||||||
weight: 101
|
weight: 101
|
||||||
aliases:
|
aliases:
|
||||||
- /influxdb/v2.0/reference/client-libraries/
|
- /influxdb/v2.0/reference/client-libraries/
|
||||||
|
- /influxdb/v2.0/reference/api/client-libraries/
|
||||||
menu:
|
menu:
|
||||||
influxdb_2_0:
|
influxdb_2_0:
|
||||||
name: Use client libraries
|
name: Use client libraries
|
||||||
parent: Tools & integrations
|
parent: Tools & integrations
|
||||||
influxdb/v2.0/tags: [client libraries]
|
influxdb/v2.0/tags: [client libraries]
|
||||||
aliases:
|
|
||||||
- /influxdb/v2.0/reference/api/client-libraries/
|
|
||||||
---
|
---
|
||||||
|
|
||||||
InfluxDB client libraries are language-specific packages that integrate with the InfluxDB v2 API.
|
InfluxDB client libraries are language-specific packages that integrate with the InfluxDB v2 API.
|
||||||
|
|
Loading…
Reference in New Issue