From f7e55773d12b24152e39827d399fd3d624c3cd7e Mon Sep 17 00:00:00 2001 From: Kelly Date: Wed, 30 Oct 2019 11:20:05 -0700 Subject: [PATCH] add Flux intro --- content/v2.0/query-data/guides/conditional-logic.md | 5 +++++ content/v2.0/query-data/guides/exists.md | 5 +++++ content/v2.0/query-data/guides/group-data.md | 5 +++++ content/v2.0/query-data/guides/histograms.md | 4 ++++ content/v2.0/query-data/guides/join.md | 5 +++++ content/v2.0/query-data/guides/manipulate-timestamps.md | 5 +++++ content/v2.0/query-data/guides/mathematic-operations.md | 5 +++++ content/v2.0/query-data/guides/regular-expressions.md | 5 +++++ content/v2.0/query-data/guides/sort-limit.md | 5 +++++ content/v2.0/query-data/guides/sql.md | 5 +++++ content/v2.0/query-data/guides/window-aggregate.md | 5 +++++ content/v2.0/reference/flux/stdlib/monitor/check.md | 4 ++-- 12 files changed, 56 insertions(+), 2 deletions(-) diff --git a/content/v2.0/query-data/guides/conditional-logic.md b/content/v2.0/query-data/guides/conditional-logic.md index 22c7494c0..0dd1250ae 100644 --- a/content/v2.0/query-data/guides/conditional-logic.md +++ b/content/v2.0/query-data/guides/conditional-logic.md @@ -12,6 +12,11 @@ menu: weight: 209 --- +If you're just getting started with Flux queries, check out the following: + +- [Get started with Flux](/v2.0/query-data/get-started/) for a conceptual overview of Flux and parts of a Flux query. +- [Execute queries](/v2.0/query-data/execute-queries/) to discover a variety of ways to run your queries. + Flux provides `if`, `then`, and `else` conditional expressions that allow for powerful and flexible Flux queries. ##### Conditional expression syntax diff --git a/content/v2.0/query-data/guides/exists.md b/content/v2.0/query-data/guides/exists.md index 15b172bb9..d8e622411 100644 --- a/content/v2.0/query-data/guides/exists.md +++ b/content/v2.0/query-data/guides/exists.md @@ -12,6 +12,11 @@ menu: weight: 209 --- +If you're just getting started with Flux queries, check out the following: + +- [Get started with Flux](/v2.0/query-data/get-started/) for a conceptual overview of Flux and parts of a Flux query. +- [Execute queries](/v2.0/query-data/execute-queries/) to discover a variety of ways to run your queries. + Use the Flux `exists` operator to check if an object contains a key or if that key's value is `null`. diff --git a/content/v2.0/query-data/guides/group-data.md b/content/v2.0/query-data/guides/group-data.md index fd3c56eb9..73132e033 100644 --- a/content/v2.0/query-data/guides/group-data.md +++ b/content/v2.0/query-data/guides/group-data.md @@ -11,6 +11,11 @@ menu: weight: 203 --- +If you're just getting started with Flux queries, check out the following: + +- [Get started with Flux](/v2.0/query-data/get-started/) for a conceptual overview of Flux and parts of a Flux query. +- [Execute queries](/v2.0/query-data/execute-queries/) to discover a variety of ways to run your queries. + With Flux, you can group data by any column in your queried data set. "Grouping" partitions data into tables in which each row shares a common value for specified columns. This guide walks through grouping data in Flux and provides examples of how data is shaped in the process. diff --git a/content/v2.0/query-data/guides/histograms.md b/content/v2.0/query-data/guides/histograms.md index 4253e8183..e91ad2a3e 100644 --- a/content/v2.0/query-data/guides/histograms.md +++ b/content/v2.0/query-data/guides/histograms.md @@ -9,6 +9,10 @@ menu: weight: 208 --- +If you're just getting started with Flux queries, check out the following: + +- [Get started with Flux](/v2.0/query-data/get-started/) for a conceptual overview of Flux and parts of a Flux query. +- [Execute queries](/v2.0/query-data/execute-queries/) to discover a variety of ways to run your queries. Histograms provide valuable insight into the distribution of your data. This guide walks through using Flux's `histogram()` function to transform your data into a **cumulative histogram**. diff --git a/content/v2.0/query-data/guides/join.md b/content/v2.0/query-data/guides/join.md index e0932ba3c..06a34d519 100644 --- a/content/v2.0/query-data/guides/join.md +++ b/content/v2.0/query-data/guides/join.md @@ -10,6 +10,11 @@ menu: weight: 205 --- +If you're just getting started with Flux queries, check out the following: + +- [Get started with Flux](/v2.0/query-data/get-started/) for a conceptual overview of Flux and parts of a Flux query. +- [Execute queries](/v2.0/query-data/execute-queries/) to discover a variety of ways to run your queries. + The [`join()` function](/v2.0/reference/flux/stdlib/built-in/transformations/join) merges two or more input streams, whose values are equal on a set of common columns, into a single output stream. Flux allows you to join on any columns common between two data streams and opens the door diff --git a/content/v2.0/query-data/guides/manipulate-timestamps.md b/content/v2.0/query-data/guides/manipulate-timestamps.md index 47c3269be..ca0b0385a 100644 --- a/content/v2.0/query-data/guides/manipulate-timestamps.md +++ b/content/v2.0/query-data/guides/manipulate-timestamps.md @@ -9,6 +9,11 @@ menu: weight: 209 --- +If you're just getting started with Flux queries, check out the following: + +- [Get started with Flux](/v2.0/query-data/get-started/) for a conceptual overview of Flux and parts of a Flux query. +- [Execute queries](/v2.0/query-data/execute-queries/) to discover a variety of ways to run your queries. + Every point stored in InfluxDB has an associated timestamp. Use Flux to process and manipulate timestamps to suit your needs. diff --git a/content/v2.0/query-data/guides/mathematic-operations.md b/content/v2.0/query-data/guides/mathematic-operations.md index 39cbb7380..6fdb509a0 100644 --- a/content/v2.0/query-data/guides/mathematic-operations.md +++ b/content/v2.0/query-data/guides/mathematic-operations.md @@ -10,6 +10,11 @@ menu: weight: 209 --- +If you're just getting started with Flux queries, check out the following: + +- [Get started with Flux](/v2.0/query-data/get-started/) for a conceptual overview of Flux and parts of a Flux query. +- [Execute queries](/v2.0/query-data/execute-queries/) to discover a variety of ways to run your queries. + [Flux](/v2.0/reference/flux), InfluxData's data scripting and query language, supports mathematic expressions in data transformations. This article describes how to use [Flux arithmetic operators](/v2.0/reference/flux/language/operators/#arithmetic-operators) diff --git a/content/v2.0/query-data/guides/regular-expressions.md b/content/v2.0/query-data/guides/regular-expressions.md index b7ce40e31..1acd93295 100644 --- a/content/v2.0/query-data/guides/regular-expressions.md +++ b/content/v2.0/query-data/guides/regular-expressions.md @@ -9,6 +9,11 @@ menu: weight: 210 --- +If you're just getting started with Flux queries, check out the following: + +- [Get started with Flux](/v2.0/query-data/get-started/) for a conceptual overview of Flux and parts of a Flux query. +- [Execute queries](/v2.0/query-data/execute-queries/) to discover a variety of ways to run your queries. + Regular expressions (regexes) are incredibly powerful when matching patterns in large collections of data. With Flux, regular expressions are primarily used for evaluation logic in predicate functions for things such as filtering rows, dropping and keeping columns, state detection, etc. diff --git a/content/v2.0/query-data/guides/sort-limit.md b/content/v2.0/query-data/guides/sort-limit.md index 5d053a0ad..0468ac26a 100644 --- a/content/v2.0/query-data/guides/sort-limit.md +++ b/content/v2.0/query-data/guides/sort-limit.md @@ -12,6 +12,11 @@ menu: weight: 206 --- +If you're just getting started with Flux queries, check out the following: + +- [Get started with Flux](/v2.0/query-data/get-started/) for a conceptual overview of Flux and parts of a Flux query. +- [Execute queries](/v2.0/query-data/execute-queries/) to discover a variety of ways to run your queries. + The [`sort()`function](/v2.0/reference/flux/stdlib/built-in/transformations/sort) orders the records within each table. The following example orders system uptime first by region, then host, then value. diff --git a/content/v2.0/query-data/guides/sql.md b/content/v2.0/query-data/guides/sql.md index 76845d1f3..22a23fffc 100644 --- a/content/v2.0/query-data/guides/sql.md +++ b/content/v2.0/query-data/guides/sql.md @@ -11,6 +11,11 @@ menu: weight: 207 --- +If you're just getting started with Flux queries, check out the following: + +- [Get started with Flux](/v2.0/query-data/get-started/) for a conceptual overview of Flux and parts of a Flux query. +- [Execute queries](/v2.0/query-data/execute-queries/) to discover a variety of ways to run your queries. + The [Flux](/v2.0/reference/flux) `sql` package provides functions for working with SQL data sources. [`sql.from()`](/v2.0/reference/flux/stdlib/sql/from/) lets you query SQL data sources like [PostgreSQL](https://www.postgresql.org/) and [MySQL](https://www.mysql.com/) diff --git a/content/v2.0/query-data/guides/window-aggregate.md b/content/v2.0/query-data/guides/window-aggregate.md index d9320d394..37dc98ce6 100644 --- a/content/v2.0/query-data/guides/window-aggregate.md +++ b/content/v2.0/query-data/guides/window-aggregate.md @@ -12,6 +12,11 @@ weight: 202 v2.0/tags: [flux, aggregates] --- +If you're just getting started with Flux queries, check out the following: + +- [Get started with Flux](/v2.0/query-data/get-started/) for a conceptual overview of Flux and parts of a Flux query. +- [Execute queries](/v2.0/query-data/execute-queries/) to discover a variety of ways to run your queries. + A common operation performed with time series data is grouping data into windows of time, or "windowing" data, then aggregating windowed values into a new value. This guide walks through windowing and aggregating data with Flux and demonstrates diff --git a/content/v2.0/reference/flux/stdlib/monitor/check.md b/content/v2.0/reference/flux/stdlib/monitor/check.md index 5dcd50a5f..e6a002e5d 100644 --- a/content/v2.0/reference/flux/stdlib/monitor/check.md +++ b/content/v2.0/reference/flux/stdlib/monitor/check.md @@ -1,7 +1,7 @@ --- title: monitor.check() function description: > - The `monitor.check()` function function checks input data and assigns a level + The `monitor.check()` function checks input data and assigns a level (`ok`, `info`, `warn`, or `crit`) to each row based on predicate functions. aliases: - /v2.0/reference/flux/functions/monitor/check/ @@ -12,7 +12,7 @@ menu: weight: 202 --- -The `monitor.check()` function function checks input data and assigns a level +The `monitor.check()` function checks input data and assigns a level (`ok`, `info`, `warn`, or `crit`) to each row based on predicate functions. _**Function type:** Transformation_