add Flux intro

pull/573/head
Kelly 2019-10-30 11:20:05 -07:00
parent 812bba5d90
commit f7e55773d1
12 changed files with 56 additions and 2 deletions

View File

@ -12,6 +12,11 @@ menu:
weight: 209 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. Flux provides `if`, `then`, and `else` conditional expressions that allow for powerful and flexible Flux queries.
##### Conditional expression syntax ##### Conditional expression syntax

View File

@ -12,6 +12,11 @@ menu:
weight: 209 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 Use the Flux `exists` operator to check if an object contains a key or if that
key's value is `null`. key's value is `null`.

View File

@ -11,6 +11,11 @@ menu:
weight: 203 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. 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. "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. This guide walks through grouping data in Flux and provides examples of how data is shaped in the process.

View File

@ -9,6 +9,10 @@ menu:
weight: 208 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. 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**. This guide walks through using Flux's `histogram()` function to transform your data into a **cumulative histogram**.

View File

@ -10,6 +10,11 @@ menu:
weight: 205 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 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. 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 Flux allows you to join on any columns common between two data streams and opens the door

View File

@ -9,6 +9,11 @@ menu:
weight: 209 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. Every point stored in InfluxDB has an associated timestamp.
Use Flux to process and manipulate timestamps to suit your needs. Use Flux to process and manipulate timestamps to suit your needs.

View File

@ -10,6 +10,11 @@ menu:
weight: 209 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, [Flux](/v2.0/reference/flux), InfluxData's data scripting and query language,
supports mathematic expressions in data transformations. supports mathematic expressions in data transformations.
This article describes how to use [Flux arithmetic operators](/v2.0/reference/flux/language/operators/#arithmetic-operators) This article describes how to use [Flux arithmetic operators](/v2.0/reference/flux/language/operators/#arithmetic-operators)

View File

@ -9,6 +9,11 @@ menu:
weight: 210 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. 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 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. such as filtering rows, dropping and keeping columns, state detection, etc.

View File

@ -12,6 +12,11 @@ menu:
weight: 206 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) The [`sort()`function](/v2.0/reference/flux/stdlib/built-in/transformations/sort)
orders the records within each table. orders the records within each table.
The following example orders system uptime first by region, then host, then value. The following example orders system uptime first by region, then host, then value.

View File

@ -11,6 +11,11 @@ menu:
weight: 207 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. 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 [`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/) like [PostgreSQL](https://www.postgresql.org/) and [MySQL](https://www.mysql.com/)

View File

@ -12,6 +12,11 @@ weight: 202
v2.0/tags: [flux, aggregates] 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, 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. or "windowing" data, then aggregating windowed values into a new value.
This guide walks through windowing and aggregating data with Flux and demonstrates This guide walks through windowing and aggregating data with Flux and demonstrates

View File

@ -1,7 +1,7 @@
--- ---
title: monitor.check() function title: monitor.check() function
description: > 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. (`ok`, `info`, `warn`, or `crit`) to each row based on predicate functions.
aliases: aliases:
- /v2.0/reference/flux/functions/monitor/check/ - /v2.0/reference/flux/functions/monitor/check/
@ -12,7 +12,7 @@ menu:
weight: 202 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. (`ok`, `info`, `warn`, or `crit`) to each row based on predicate functions.
_**Function type:** Transformation_ _**Function type:** Transformation_