Merge branch 'master' into beta-17

pull/1534/head^2
pierwill 2020-09-21 12:51:23 -07:00
commit f903844b17
212 changed files with 4457 additions and 959 deletions

View File

@ -23,7 +23,7 @@ jobs:
command: ./deploy/ci-install-s3deploy.sh
- run:
name: Install NodeJS dependencies
command: sudo yarn global add postcss-cli autoprefixer redoc-cli
command: sudo yarn global add postcss-cli autoprefixer@9.8.6 redoc-cli
- run:
name: Generate API documentation
command: cd api-docs && bash generate-api-docs.sh

View File

@ -76,6 +76,7 @@ list_query_example: # Code examples included with article descriptions in childr
# References to examples in data/query_examples
products: # List of products that the page specifically applies to: [oss, cloud, enterprise]
canonical: # Path to canonical page, overrides auto-gen'd canonical URL
v2: # Path to v2 equivalent page
```
#### Title usage
@ -664,6 +665,14 @@ canonical: /path/to/canonical/doc/
canonical: /{{< latest "influxdb" "v2" >}}/path/to/canonical/doc/
```
## v2 equivalent documentation
To display a notice on a 1.x page that links to an equivalent 2.0 page,
add the following frontmatter to the 1.x page:
```yaml
v2: /influxdb/v2.0/get-started/
```
## InfluxDB URLs
When a user selects an InfluxDB product and region, example URLs in code blocks
throughout the documentation are updated to match their product and region.

View File

@ -1,11 +0,0 @@
// Import Now
//
// If you import this module directly, it will immediately output all the CSS
// needed to normalize default HTML elements across all browsers.
//
// ```
// @import "normalize/import-now";
// ```
@import 'normalize';
@include normalize();

View File

@ -1,666 +0,0 @@
// Helper function for the normalize() mixin.
@function _normalize-include($section, $exclude: null) {
// Initialize the global variables needed by this function.
@if not global_variable_exists(_normalize-include) {
$_normalize-include: () !global;
$_normalize-exclude: () !global;
}
// Since we are given 2 parameters, set the global variables.
@if $exclude != null {
$include: $section;
// Sass doesn't have static variables, so the work-around is to stuff these
// values into global variables so we can access them in future calls.
$_normalize-include: if(type-of($include) == 'list', $include, ($include)) !global;
$_normalize-exclude: if(type-of($exclude) == 'list', $exclude, ($exclude)) !global;
@return true;
}
// Check if $section is in the $include list.
@if index($_normalize-include, $section) {
@return true;
}
// If $include is set to (all), make sure $section is not in $exclude.
@else if not index($_normalize-exclude, $section) and index($_normalize-include, all) {
@return true;
}
@return false;
}
@mixin normalize($include: (all), $exclude: ()) {
// Initialize the helper function by passing it this mixin's parameters.
$init: _normalize-include($include, $exclude);
// If we've customized any font variables, we'll need extra properties.
@if $base-line-height != 24px
or $base-unit != 'em'
or $h2-font-size != 1.5 * $base-font-size
or $h3-font-size != 1.17 * $base-font-size
or $h4-font-size != 1 * $base-font-size
or $h5-font-size != 0.83 * $base-font-size
or $h6-font-size != 0.67 * $base-font-size {
$normalize-vertical-rhythm: true !global;
}
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
@if _normalize-include(document) {
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
*/
html {
@if $base-font-family {
/* Change the default font family in all browsers (opinionated). */
font-family: $base-font-family;
}
@if $base-font-size != 16px or $normalize-vertical-rhythm {
// Correct old browser bug that prevented accessible resizing of text
// when root font-size is set with px or em.
font-size: ($base-font-size / 16px) * 100%;
}
@if $normalize-vertical-rhythm {
line-height: ($base-line-height / $base-font-size) * 1em; /* 1 */
}
@else {
line-height: 1.15; /* 1 */
}
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
}
@if _normalize-include(sections) {
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0;
}
/**
* Add the correct display in IE 9-.
*/
article,
aside,
footer,
header,
nav,
section {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
@include normalize-font-size($h1-font-size);
@if $normalize-vertical-rhythm {
@include normalize-line-height($h1-font-size);
}
@if $normalize-vertical-rhythm {
/* Set 1 unit of vertical rhythm on the top and bottom margins. */
@include normalize-margin(1 0, $h1-font-size);
}
@else {
margin: 0.67em 0;
}
}
@if $normalize-vertical-rhythm {
h2 {
@include normalize-font-size($h2-font-size);
@include normalize-line-height($h2-font-size);
@include normalize-margin(1 0, $h2-font-size);
}
h3 {
@include normalize-font-size($h3-font-size);
@include normalize-line-height($h3-font-size);
@include normalize-margin(1 0, $h3-font-size);
}
h4 {
@include normalize-font-size($h4-font-size);
@include normalize-line-height($h4-font-size);
@include normalize-margin(1 0, $h4-font-size);
}
h5 {
@include normalize-font-size($h5-font-size);
@include normalize-line-height($h5-font-size);
@include normalize-margin(1 0, $h5-font-size);
}
h6 {
@include normalize-font-size($h6-font-size);
@include normalize-line-height($h6-font-size);
@include normalize-margin(1 0, $h6-font-size);
}
}
}
@if _normalize-include(grouping) {
/* Grouping content
========================================================================== */
@if $normalize-vertical-rhythm {
/**
* Set 1 unit of vertical rhythm on the top and bottom margin.
*/
blockquote {
@include normalize-margin(1 $indent-amount);
}
dl,
ol,
ul {
@include normalize-margin(1 0);
}
/**
* Turn off margins on nested lists.
*/
ol,
ul {
ol,
ul {
margin: 0;
}
}
dd {
margin: 0 0 0 $indent-amount;
}
ol,
ul {
padding: 0 0 0 $indent-amount;
}
}
/**
* Add the correct display in IE 9-.
*/
figcaption,
figure {
display: block;
}
/**
* Add the correct margin in IE 8.
*/
figure {
@if $normalize-vertical-rhythm {
@include normalize-margin(1 $indent-amount);
}
@else {
margin: 1em $indent-amount;
}
}
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}
/**
* Add the correct display in IE.
*/
main {
display: block;
}
@if $normalize-vertical-rhythm {
/**
* Set 1 unit of vertical rhythm on the top and bottom margin.
*/
p,
pre {
@include normalize-margin(1 0);
}
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
}
@if _normalize-include(links) {
/* Links
========================================================================== */
/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/
a {
background-color: transparent; /* 1 */
-webkit-text-decoration-skip: objects; /* 2 */
}
}
@if _normalize-include(text) {
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
}
/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/
b,
strong {
font-weight: inherit;
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/**
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic;
}
/**
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
color: #000;
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
}
@if _normalize-include(embedded) {
/* Embedded content
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
audio,
video {
display: inline-block;
}
/**
* Add the correct display in iOS 4-7.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Remove the border on images inside links in IE 10-.
*/
img {
border-style: none;
}
/**
* Hide the overflow in IE.
*/
svg:not(:root) {
overflow: hidden;
}
}
@if _normalize-include(forms) {
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: if($base-font-family, $base-font-family, sans-serif); /* 1 */
font-size: 100%; /* 1 */
@if $normalize-vertical-rhythm {
line-height: ($base-line-height / $base-font-size) * 1em; /* 1 */
}
@else {
line-height: 1.15; /* 1 */
}
margin: 0; /* 2 */
}
/**
* Show the overflow in IE.
*/
button {
overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select { /* 1 */
text-transform: none;
}
/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
* controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/
button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
-webkit-appearance: button; /* 2 */
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
/**
* Remove the inner border and padding in Firefox.
*/
&::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
&:-moz-focusring {
outline: 1px dotted ButtonText;
}
}
/**
* Show the overflow in Edge.
*/
input {
overflow: visible;
}
/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/
&::-webkit-search-cancel-button,
&::-webkit-search-decoration {
-webkit-appearance: none;
}
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box; /* 1 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
color: inherit; /* 2 */
white-space: normal; /* 1 */
}
/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Remove the default vertical scrollbar in IE.
*/
textarea {
overflow: auto;
}
}
@if _normalize-include(interactive) {
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE, and Firefox.
*/
details {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}
/*
* Add the correct display in IE 9-.
*/
menu {
display: block;
@if $normalize-vertical-rhythm {
/*
* 1. Set 1 unit of vertical rhythm on the top and bottom margin.
* 2. Set consistent space for the list style image.
*/
@include normalize-margin(1 0); /* 1 */
padding: 0 0 0 $indent-amount; /* 2 */
/**
* Turn off margins on nested lists.
*/
menu &,
ol &,
ul & {
margin: 0;
}
}
}
}
@if _normalize-include(scripting) {
/* Scripting
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
canvas {
display: inline-block;
}
/**
* Add the correct display in IE.
*/
template {
display: none;
}
}
@if _normalize-include(hidden) {
/* Hidden
========================================================================== */
/**
* Add the correct display in IE 10-.
*/
[hidden] {
display: none;
}
}
}

View File

@ -1,3 +0,0 @@
@import 'normalize/variables';
@import 'normalize/vertical-rhythm';
@import 'normalize/normalize-mixin';

View File

@ -1,36 +0,0 @@
//
// Variables
//
// You can override the default values by setting the variables in your Sass
// before importing the normalize-scss library.
// The font size set on the root html element.
$base-font-size: 16px !default;
// The base line height determines the basic unit of vertical rhythm.
$base-line-height: 24px !default;
// The length unit in which to output vertical rhythm values.
// Supported values: px, em, rem.
$base-unit: 'em' !default;
// The default font family.
$base-font-family: null !default;
// The font sizes for h1-h6.
$h1-font-size: 2 * $base-font-size !default;
$h2-font-size: 1.5 * $base-font-size !default;
$h3-font-size: 1.17 * $base-font-size !default;
$h4-font-size: 1 * $base-font-size !default;
$h5-font-size: 0.83 * $base-font-size !default;
$h6-font-size: 0.67 * $base-font-size !default;
// The amount lists and blockquotes are indented.
$indent-amount: 40px !default;
// The following variable controls whether normalize-scss will output
// font-sizes, line-heights and block-level top/bottom margins that form a basic
// vertical rhythm on the page, which differs from the original Normalize.css.
// However, changing any of the variables above will cause
// $normalize-vertical-rhythm to be automatically set to true.
$normalize-vertical-rhythm: false !default;

View File

@ -1,61 +0,0 @@
//
// Vertical Rhythm
//
// This is the minimal amount of code needed to create vertical rhythm in our
// CSS. If you are looking for a robust solution, look at the excellent Typey
// library. @see https://github.com/jptaranto/typey
@function normalize-rhythm($value, $relative-to: $base-font-size, $unit: $base-unit) {
@if unit($value) != px {
@error "The normalize vertical-rhythm module only supports px inputs. The typey library is better.";
}
@if $unit == rem {
@return ($value / $base-font-size) * 1rem;
}
@else if $unit == em {
@return ($value / $relative-to) * 1em;
}
@else { // $unit == px
@return $value;
}
}
@mixin normalize-font-size($value, $relative-to: $base-font-size) {
@if unit($value) != 'px' {
@error "normalize-font-size() only supports px inputs. The typey library is better.";
}
font-size: normalize-rhythm($value, $relative-to);
}
@mixin normalize-rhythm($property, $values, $relative-to: $base-font-size) {
$value-list: $values;
$sep: space;
@if type-of($values) == 'list' {
$sep: list-separator($values);
}
@else {
$value-list: append((), $values);
}
$normalized-values: ();
@each $value in $value-list {
@if unitless($value) and $value != 0 {
$value: $value * normalize-rhythm($base-line-height, $relative-to);
}
$normalized-values: append($normalized-values, $value, $sep);
}
#{$property}: $normalized-values;
}
@mixin normalize-margin($values, $relative-to: $base-font-size) {
@include normalize-rhythm(margin, $values, $relative-to);
}
@mixin normalize-line-height($font-size, $min-line-padding: 2px) {
$lines: ceil($font-size / $base-line-height);
// If lines are cramped include some extra leading.
@if ($lines * $base-line-height - $font-size) < ($min-line-padding * 2) {
$lines: $lines + 1;
}
@include normalize-rhythm(line-height, $lines, $font-size);
}

View File

@ -4,14 +4,14 @@
@import "tools/icomoon",
"tools/media-queries.scss",
"tools/mixins.scss",
"tools/tooltips";
"tools/tooltips",
"tools/normalize.scss";
// Import default light theme
@import "themes/theme-light.scss";
// Import Layout Styles
@import "normalize/import-now",
"layouts/global",
@import "layouts/global",
"layouts/top-nav",
"layouts/homepage",
"layouts/sidebar",

View File

@ -0,0 +1,427 @@
/*! normalize.scss v0.1.0 | MIT License | based on git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}

View File

@ -11,8 +11,8 @@ menu:
Install or deploy your InfluxDB Enterprise cluster in the environment of your choice:
- [Your own environment](#your-production-environment)
- [Your cloud provider](#your-cloud-provider)
- Your own environment
- Your cloud provider
## Your production environment

View File

@ -5,6 +5,7 @@ aliases:
- /enterprise_influxdb/v1.8/introduction/meta_node_installation/
- /enterprise_influxdb/v1.8/introduction/data_node_installation/
- /enterprise/v1.8/introduction/installation_guidelines/
- /enterprise_influxdb/v1.8/introduction/installation_guidelines/
menu:
enterprise_influxdb_1_8:
weight: 20

View File

@ -23,7 +23,7 @@ Each collectd input allows the binding address, target database, and target rete
Each collectd input also performs internal batching of the points it receives, as batched writes to the database are more efficient. The default batch size is 1000, pending batch factor is 5, with a batch timeout of 1 second. This means the input will write batches of maximum size 1000, but if a batch has not reached 1000 points within 1 second of the first point being added to a batch, it will emit that batch regardless of size. The pending batch factor controls how many batches can be in memory at once, allowing the input to transmit a batch, while still building other batches.
Multi-value plugins can be handled two ways. Setting parse-multivalue-plugin to "split" will parse and store the multi-value plugin data (e.g., df free:5000,used:1000) into separate measurements (e.g., (df_free, value=5000) (df_used, value=1000)), while "join" will parse and store the multi-value plugin as a single multi-value measurement (e.g., (df, free=5000,used=1000)). "split" is the default behavior for backward compatability with previous versions of influxdb.
Multi-value plugins can be handled two ways. Setting parse-multivalue-plugin to "split" will parse and store the multi-value plugin data (e.g., df free:5000,used:1000) into separate measurements (e.g., (df_free, value=5000) (df_used, value=1000)), while "join" will parse and store the multi-value plugin as a single multi-value measurement (e.g., (df, free=5000,used=1000)). "split" is the default behavior for backward compatibility with previous versions of influxdb.
The path to the collectd types database file may also be set.

View File

@ -5,6 +5,7 @@ menu:
name: Release notes
weight: 10
parent: About the project
v2: /influxdb/v2.0/reference/release-notes/influxdb/
---
## v1.7.10 [2020-02-07]

View File

@ -7,6 +7,7 @@ menu:
name: Authentication and authorization
weight: 20
parent: Administration
v2: /influxdb/v2.0/security/tokens/
---
This document covers setting up and managing authentication and authorization in InfluxDB.
@ -32,7 +33,7 @@ This document covers setting up and managing authentication and authorization in
> **Note:** Authentication and authorization should not be relied upon to prevent access and protect data from malicious actors.
If additional security or compliance features are desired, InfluxDB should be run behind a third-party service. If InfluxDB
is being deployed on a publicly accessible endpoint, we strongly recommend authentication be enabled. Otherwise the data will
is being deployed on a publicly accessible endpoint, we strongly recommend authentication be enabled. Otherwise the data will
be publicly available to any unauthenticated user.
## Authentication

View File

@ -8,6 +8,7 @@ menu:
name: Backing up and restoring
weight: 60
parent: Administration
v2: /influxdb/v2.0/backup-restore/
---
## Overview

View File

@ -5,6 +5,7 @@ menu:
name: Configuring InfluxDB
weight: 10
parent: Administration
v2: /influxdb/v2.0/reference/config-options/
---
The InfluxDB open source (OSS) configuration file contains configuration settings specific to a local node.

View File

@ -6,6 +6,7 @@ menu:
name: Enabling HTTPS
weight: 30
parent: Administration
v2: /influxdb/v2.0/security/enable-tls/
---
Enable TLS to encrypt communication between clients and the InfluxDB server.

View File

@ -5,6 +5,7 @@ menu:
name: Managing security
weight: 70
parent: Administration
v2: /influxdb/v2.0/security/
---
Some customers may choose to install InfluxDB with public internet access, however

View File

@ -4,7 +4,7 @@ menu:
influxdb_1_7:
name: Concepts
weight: 30
v2: /influxdb/v2.0/reference/key-concepts/
---
Understanding the following concepts will help you get the most out of InfluxDB.

View File

@ -5,6 +5,8 @@ menu:
name: Glossary
weight: 20
parent: Concepts
canonical: /{{< latest "influxdb" "v2" >}}/reference/glossary/
v2: /influxdb/v2.0/reference/glossary/
---
## aggregation

View File

@ -5,6 +5,7 @@ menu:
name: InfluxDB design insights and tradeoffs
weight: 40
parent: Concepts
v2: /influxdb/v2.0/reference/key-concepts/design-principles/
---
InfluxDB is a time series database.

View File

@ -6,6 +6,7 @@ menu:
name: Key concepts
weight: 10
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.

View File

@ -6,6 +6,7 @@ menu:
name: In-memory indexing with TSM
weight: 60
parent: Concepts
v2: /influxdb/v2.0/reference/internals/storage-engine/
---
## The InfluxDB storage engine and the Time-Structured Merge Tree (TSM)

View File

@ -6,6 +6,7 @@ menu:
influxdb_1_7:
name: Flux
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.

View File

@ -11,6 +11,8 @@ menu:
weight: 2
aliases:
- /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,
@ -96,7 +98,7 @@ are unique to each row.
## Tools for working with Flux
You have multiple [options for writing and running Flux queries](/{{< latest "influxdb" "v2" >}}/reference/flux/guides/executing-queries),
You have multiple [options for writing and running Flux queries](/influxdb/v1.7/flux/guides/execute-queries/),
but as you're getting started, we recommend using the following:
### 1. Chronograf's Data Explorer

View File

@ -8,6 +8,8 @@ menu:
weight: 1
aliases:
- /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.

View File

@ -8,6 +8,8 @@ menu:
weight: 3
aliases:
- /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/
---
@ -185,7 +187,7 @@ topN = (tables=<-, n) =>
|> limit(n: n)
```
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) documentation._
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/query-data/flux/custom-functions) documentation._
Using this new custom function `topN` and the `cpuUsageUser` data stream variable defined above,
find the top five data points and yield the results.
@ -218,7 +220,7 @@ Then using Flux's `sort()` and `limit()` functions to find the top `n` results i
topN = (tables=<-, n) => tables |> sort(desc: true) |> limit(n: n)
```
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) documentation._
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/query-data/flux/custom-functions) documentation._
Using the `cpuUsageUser` data stream variable defined [above](#define-data-stream-variables),
find the top five data points with the custom `topN` function and yield the results.

View File

@ -8,6 +8,8 @@ menu:
weight: 2
aliases:
- /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),
@ -36,7 +38,7 @@ from(bucket:"telegraf/autogen")
## Flux functions
Flux provides a number of functions that perform specific operations, transformations, and tasks.
You can also [create custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) in your Flux queries.
You can also [create custom functions](/{{< latest "influxdb" "v2" >}}/query-data/flux/custom-functions) in your Flux queries.
_Functions are covered in detail in the [Flux functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib) documentation._
A common type of function used when transforming data queried from InfluxDB is an aggregate function.

View File

@ -6,6 +6,8 @@ menu:
influxdb_1_7:
name: Query with 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.

View File

@ -9,6 +9,8 @@ menu:
parent: Query with Flux
weight: 6
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.

View File

@ -10,6 +10,8 @@ menu:
name: Conditional logic
parent: Query with Flux
weight: 20
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/conditional-logic/
v2: /influxdb/v2.0/query-data/flux/conditional-logic/
list_code_example: |
```js
if color == "green" then "008000" else "ffffff"

View File

@ -10,6 +10,8 @@ menu:
parent: Query with Flux
name: 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/)

View File

@ -8,6 +8,7 @@ menu:
weight: 1
aliases:
- /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+.

View File

@ -10,6 +10,8 @@ menu:
name: Exists
parent: Query with Flux
weight: 20
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/exists/
v2: /influxdb/v2.0/query-data/flux/exists/
list_code_example: |
##### Filter null values
```js

View File

@ -10,6 +10,8 @@ menu:
parent: Query with Flux
name: Fill
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/)

View File

@ -10,6 +10,8 @@ menu:
parent: Query with Flux
name: 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

View File

@ -8,6 +8,8 @@ menu:
name: Use Flux in dashboards
parent: Query with Flux
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

View File

@ -11,6 +11,8 @@ weight: 2
aliases:
- /influxdb/v1.7/flux/guides/grouping-data/
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.

View File

@ -9,6 +9,8 @@ menu:
parent: Query with Flux
weight: 10
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.

View File

@ -12,6 +12,8 @@ menu:
parent: Query with Flux
name: 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/)

View File

@ -9,6 +9,8 @@ menu:
parent: Query with Flux
weight: 10
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

View File

@ -8,6 +8,8 @@ menu:
name: Manipulate timestamps
parent: Query with Flux
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.

View File

@ -10,6 +10,8 @@ menu:
parent: Query with Flux
weight: 5
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.

View File

@ -10,6 +10,8 @@ menu:
parent: Query with Flux
name: 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/)

View File

@ -7,6 +7,8 @@ menu:
name: Monitor states
parent: Query with Flux
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:

View File

@ -10,6 +10,8 @@ menu:
parent: Query with Flux
name: 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/)

View File

@ -7,6 +7,8 @@ menu:
influxdb_1_7:
name: Optimize queries
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.

View File

@ -11,6 +11,8 @@ menu:
parent: Query with Flux
name: Percentile & 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/)

View File

@ -9,6 +9,8 @@ weight: 1
menu:
influxdb_1_7:
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: |
```js
from(bucket: "db/rp")

View File

@ -13,6 +13,8 @@ menu:
parent: Query with Flux
name: Rate
list_query_example: rate_of_change
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/rate/
v2: /influxdb/v2.0/query-data/flux/rate/
---

View File

@ -8,6 +8,8 @@ menu:
parent: Query with Flux
weight: 20
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.

View File

@ -9,6 +9,8 @@ menu:
name: Extract scalar values
parent: Query with Flux
weight: 20
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/scalar-values/
v2: /influxdb/v2.0/query-data/flux/scalar-values/
list_code_example: |
```js
scalarValue = {

View File

@ -11,6 +11,8 @@ menu:
parent: Query with Flux
weight: 3
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)

View File

@ -10,6 +10,8 @@ menu:
parent: Query with Flux
list_title: SQL data
weight: 20
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/sql/
v2: /influxdb/v2.0/query-data/flux/sql/
list_code_example: |
```js
import "sql"

View File

@ -11,6 +11,8 @@ menu:
parent: Query with Flux
weight: 4
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,

View File

@ -5,6 +5,7 @@ menu:
influxdb_1_7:
weight: 50
parent: Guides
v2: /influxdb/v2.0/query-data/flux/calculate-percentages/
---
[InfluxQL](/influxdb/v1.7/query_language/) lets you perform simple math equations

View File

@ -4,6 +4,7 @@ menu:
influxdb_1_7:
weight: 30
parent: Guides
v2: /influxdb/v2.0/process-data/common-tasks/downsample-data/
---
InfluxDB can handle hundreds of thousands of data points per second.

View File

@ -6,6 +6,7 @@ menu:
influxdb_1_7:
weight: 20
parent: Guides
v2: /influxdb/v2.0/query-data/
---
## Querying data with the InfluxDB API

View File

@ -5,6 +5,7 @@ menu:
influxdb_1_7:
weight: 10
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/).
@ -49,17 +50,17 @@ Anything that has to do with time in InfluxDB is always UTC.
### Configure gzip compression
InfluxDB supports gzip compression. To reduce network traffic, consider the following options:
InfluxDB supports gzip compression. To reduce network traffic, consider the following options:
* To accept compressed data from InfluxDB, add the `Accept-Encoding: gzip` header to InfluxDB API requests.
* To compress data before sending it to InfluxDB, add the `Content-Encoding: gzip` header to InfluxDB API requests.
For details about enabling gzip for client libraries, see your client library documentation.
For details about enabling gzip for client libraries, see your client library documentation.
#### Enable gzip compression in the Telegraf InfluxDB output plugin
* In the Telegraf configuration file (telegraf.conf), under [[outputs.influxdb]], change
* In the Telegraf configuration file (telegraf.conf), under [[outputs.influxdb]], change
`content_encoding = "identity"` (default) to `content_encoding = "gzip"`
>**Note**

View File

@ -7,6 +7,7 @@ menu:
name: Getting started
weight: 30
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.

View File

@ -5,6 +5,7 @@ menu:
name: Installing
weight: 20
parent: Introduction
v2: /influxdb/v2.0/get-started/
---
This page provides directions for installing, starting, and configuring InfluxDB open source (OSS).

View File

@ -6,6 +6,7 @@ menu:
name: Continuous Queries
weight: 50
parent: InfluxQL
v2: /influxdb/v2.0/process-data/
---
## Introduction
@ -405,7 +406,7 @@ See [ Description of Basic Syntax](/influxdb/v1.7/query_language/continuous_quer
##### Scheduling and coverage
CQs operate on real-time data. With the advanced syntax, CQs use the local
servers timestamp, the information in the `RESAMPLE` clause, and the InfluxDB
servers timestamp, the information in the `RESAMPLE` clause, and the InfluxDB
server's preset time boundaries to determine when to execute and what time range to
cover in the query.

View File

@ -6,12 +6,13 @@ menu:
parent: InfluxQL
aliases:
- /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,
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/),
[Schema Exploration](../../query_language/schema_exploration/), and [Functions](../../query_language/functions/).
The sample data is then used and referenced in [Data Exploration](/influxdb/v1.7/query_language/data_exploration/),
[Schema Exploration](/influxdb/v1.7/query_language/schema_exploration/), and [Functions](/influxdb/v1.7/query_language/functions/).
## 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
```
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
```
@ -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.
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.
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).

View File

@ -6,6 +6,7 @@ menu:
name: Data exploration
weight: 20
parent: InfluxQL
v2: /influxdb/v2.0/query-data/flux/query-fields/
---
InfluxQL is an SQL-like query language for interacting with data in InfluxDB.

View File

@ -5,6 +5,7 @@ menu:
name: Schema exploration
weight: 30
parent: InfluxQL
v2: /influxdb/v2.0/query-data/flux/explore-schema/
---
InfluxQL is an SQL-like query language for interacting with data in InfluxDB.

View File

@ -7,7 +7,7 @@ menu:
influxdb_1_7:
name: Tools
weight: 60
v2: /influxdb/v2.0/tools/
---
This section covers the available tools for interacting with InfluxDB.

View File

@ -8,6 +8,7 @@ menu:
name: InfluxDB API reference
weight: 20
parent: Tools
v2: /influxdb/v2.0/reference/api/
---
The InfluxDB API provides a simple way to interact with the database.

View File

@ -9,6 +9,7 @@ menu:
influxdb_1_7:
weight: 30
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.

View File

@ -6,6 +6,7 @@ menu:
url: "https://grafana.com/docs/grafana/latest/features/datasources/influxdb/"
weight: 60
parent: Tools
v2: /influxdb/v2.0/tools/grafana/
---
Please see [Grafana's InfluxDB documentation](https://grafana.com/docs/grafana/latest/features/datasources/influxdb/).

View File

@ -5,6 +5,7 @@ menu:
name: influx
weight: 10
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.

View File

@ -5,6 +5,7 @@ menu:
influxdb_1_7:
weight: 50
parent: Tools
v2: /influxdb/v2.0/reference/cli/influxd/inspect/
---
Influx Inspect is an InfluxDB disk utility that can be used to:

View File

@ -6,6 +6,7 @@ menu:
name: influxd
weight: 10
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.

View File

@ -6,6 +6,7 @@ menu:
name: influxd backup
weight: 10
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).

View File

@ -6,6 +6,7 @@ menu:
name: influxd restore
weight: 10
parent: influxd
v2: /influxdb/v2.0/reference/cli/influxd/restore/
---
The `influxd restore` command restores backup data and metadata from an InfluxDB backup directory.

View File

@ -6,6 +6,7 @@ menu:
name: influxd run
weight: 10
parent: influxd
v2: /influxdb/v2.0/reference/cli/influxd/run/
---
The `influxd run` command is the default command for `influxd`.

View File

@ -6,6 +6,7 @@ menu:
name: influxd version
weight: 10
parent: influxd
v2: /influxdb/v2.0/reference/cli/influxd/version/
---

View File

@ -5,6 +5,7 @@ menu:
influxdb_1_7:
name: Write protocols
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.

View File

@ -8,6 +8,7 @@ menu:
weight: 10
parent: Write protocols
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.

View File

@ -6,6 +6,7 @@ menu:
influxdb_1_7:
weight: 20
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

View File

@ -6,6 +6,7 @@ menu:
name: Release notes
weight: 10
parent: About the project
v2: /influxdb/v2.0/reference/release-notes/influxdb/
---
## v1.8.2 [2020-08-13]

View File

@ -1,6 +1,6 @@
---
title: Authentication and authorization in InfluxDB
description: Set up and manage authentication and authorization in InfluxDB OSS.
description: Set up and manage authentication and authorization in InfluxDB OSS.
aliases:
- influxdb/v1.8/administration/authentication_and_authorization/
menu:
@ -8,6 +8,7 @@ menu:
name: Manage authentication and authorization
weight: 20
parent: Administration
v2: /influxdb/v2.0/security/tokens/
---
This document covers setting up and managing authentication and authorization in InfluxDB.

View File

@ -9,6 +9,7 @@ menu:
name: Back up and restore
weight: 60
parent: Administration
v2: /influxdb/v2.0/backup-restore/
---
## Overview

View File

@ -7,6 +7,7 @@ menu:
name: Configure InfluxDB
weight: 10
parent: Administration
v2: /influxdb/v2.0/reference/config-options/
---
The InfluxDB open source (OSS) configuration file contains configuration settings specific to a local node.
@ -324,7 +325,7 @@ Environment variable: `INFLUXDB_DATA_COMPACT_THROUGHPUT`
The maximum number of bytes per seconds TSM compactions write to disk during brief bursts. Default is `"48m"` (48 million).
Environment variable: `INFLUXDB_DATA_COMPACT_THROUGHPUT_BURST`
Environment variable: `INFLUXDB_DATA_COMPACT_THROUGHPUT_BURST`
#### `tsm-use-madv-willneed = false`

View File

@ -7,6 +7,7 @@ menu:
name: Enable HTTPS
weight: 30
parent: Administration
v2: /influxdb/v2.0/security/enable-tls/
---
Enabling HTTPS encrypts the communication between clients and the InfluxDB server.

View File

@ -6,6 +6,7 @@ menu:
name: Manage security
weight: 70
parent: Administration
v2: /influxdb/v2.0/security/
---
Some customers may choose to install InfluxDB with public internet access, however

View File

@ -5,7 +5,7 @@ menu:
influxdb_1_8:
name: Concepts
weight: 30
v2: /influxdb/v2.0/reference/key-concepts/
---
Understanding the following concepts will help you get the most out of InfluxDB.

View File

@ -6,6 +6,7 @@ menu:
name: Glossary
weight: 20
parent: Concepts
v2: /influxdb/v2.0/reference/glossary/
---
## aggregation

View File

@ -1,12 +1,13 @@
---
title: InfluxDB design insights and tradeoffs
description: >
Optimizing for time series use case entails some tradeoffs, primarily to increase performance at the cost of functionality.
Optimizing for time series use case entails some tradeoffs, primarily to increase performance at the cost of functionality.
menu:
influxdb_1_8:
name: InfluxDB design insights and tradeoffs
weight: 40
parent: Concepts
v2: /influxdb/v2.0/reference/key-concepts/design-principles/
---
InfluxDB is a time series database.

View File

@ -6,6 +6,7 @@ menu:
name: Key concepts
weight: 10
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.
@ -197,7 +198,7 @@ time butterflies honeybees location scientist
2015-08-18T00:00:00Z 1 30 1 perpetua
```
The point in this example is part of series 3 and defined by the measurement (`census`), the tag set (`location = 1`, `scientist = perpetua`), the field set (`butterflies = 1`, `honeybees = 30`), and the timestamp `2015-08-18T00:00:00Z`.
The point in this example is part of series 3 and 7 and defined by the measurement (`census`), the tag set (`location = 1`, `scientist = perpetua`), the field set (`butterflies = 1`, `honeybees = 30`), and the timestamp `2015-08-18T00:00:00Z`.
All of the stuff we've just covered is stored in a database - the sample data are in the database `my_database`.
An InfluxDB <a name=database></a>_**database**_ is similar to traditional relational databases and serves as a logical container for users, retention policies, continuous queries, and, of course, your time series data.

View File

@ -7,6 +7,7 @@ menu:
name: In-memory indexing with TSM
weight: 60
parent: Concepts
v2: /influxdb/v2.0/reference/internals/storage-engine/
---
## The InfluxDB storage engine and the Time-Structured Merge Tree (TSM)

View File

@ -6,6 +6,7 @@ menu:
influxdb_1_8:
name: Flux
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.

View File

@ -12,6 +12,8 @@ menu:
aliases:
- /influxdb/v1.8/flux/getting-started/
- /influxdb/v1.8/flux/introduction/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,
@ -97,7 +99,7 @@ are unique to each row.
## Tools for working with Flux
You have multiple [options for writing and running Flux queries](/{{< latest "influxdb" "v2" >}}/reference/flux/guides/executing-queries),
You have multiple [options for writing and running Flux queries](/influxdb/v1.8/flux/guides/execute-queries/),
but as you're getting started, we recommend using the following:
### 1. Chronograf's Data Explorer

View File

@ -8,6 +8,8 @@ menu:
weight: 1
aliases:
- /influxdb/v1.8/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.

View File

@ -8,6 +8,8 @@ menu:
weight: 3
aliases:
- /influxdb/v1.8/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/
---
@ -185,7 +187,7 @@ topN = (tables=<-, n) =>
|> limit(n: n)
```
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) documentation._
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/query-data/flux/custom-functions) documentation._
Using this new custom function `topN` and the `cpuUsageUser` data stream variable defined above,
find the top five data points and yield the results.
@ -218,7 +220,7 @@ Then using Flux's `sort()` and `limit()` functions to find the top `n` results i
topN = (tables=<-, n) => tables |> sort(desc: true) |> limit(n: n)
```
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) documentation._
_More information about creating custom functions is available in the [Custom functions](/{{< latest "influxdb" "v2" >}}/query-data-/flux/custom-functions) documentation._
Using the `cpuUsageUser` data stream variable defined [above](#define-data-stream-variables),
find the top five data points with the custom `topN` function and yield the results.

View File

@ -8,6 +8,8 @@ menu:
weight: 2
aliases:
- /influxdb/v1.8/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.8/flux/get-started/query-influxdb),
@ -36,7 +38,7 @@ from(bucket:"telegraf/autogen")
## Flux functions
Flux provides a number of functions that perform specific operations, transformations, and tasks.
You can also [create custom functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib/custom-functions) in your Flux queries.
You can also [create custom functions](/{{< latest "influxdb" "v2" >}}/query-data/flux/custom-functions) in your Flux queries.
_Functions are covered in detail in the [Flux functions](/{{< latest "influxdb" "v2" >}}/reference/flux/stdlib) documentation._
A common type of function used when transforming data queried from InfluxDB is an aggregate function.

View File

@ -2,10 +2,15 @@
title: Query data with Flux
description: Guides that walk through both common and complex queries and use cases for Flux.
weight: 3
aliases:
- /flux/latest/
- /flux/latest/introduction
menu:
influxdb_1_8:
name: Query with 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.

View File

@ -10,6 +10,8 @@ menu:
parent: Query with Flux
weight: 6
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.

View File

@ -10,6 +10,8 @@ menu:
name: Conditional logic
parent: Query with Flux
weight: 20
canonical: /{{< latest "influxdb" "v2" >}}/query-data/flux/conditional-logic/
v2: /influxdb/v2.0/query-data/flux/conditional-logic/
list_code_example: |
```js
if color == "green" then "008000" else "ffffff"

View File

@ -10,6 +10,8 @@ menu:
parent: Query with Flux
name: 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/)

View File

@ -8,6 +8,7 @@ menu:
weight: 1
aliases:
- /influxdb/v1.8/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.8+.

Some files were not shown because too many files have changed in this diff Show More