Merge pull request #1238 from influxdata/beta-15

Beta 15
pull/1240/head
noramullen1 2020-07-23 11:42:00 -07:00 committed by GitHub
commit 7b8ec9274c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 210 additions and 20 deletions

View File

@ -105,7 +105,7 @@ To use the `influx` CLI to manage and interact with your InfluxDB Cloud instance
Click the following button to download and install `influx` CLI for macOS.
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_client_2.0.0-beta.14_darwin_amd64.tar.gz" download>influx CLI (macOS)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_client_2.0.0-beta.15_darwin_amd64.tar.gz" download>influx CLI (macOS)</a>
#### Unpackage the influx binary
@ -117,7 +117,7 @@ or run the following command in a macOS command prompt application such
```sh
# Unpackage contents to the current working directory
tar zxvf ~/Downloads/influxdb_client_2.0.0-beta.14_darwin_amd64.tar.gz
tar zxvf ~/Downloads/influxdb_client_2.0.0-beta.15_darwin_amd64.tar.gz
```
#### (Optional) Place the binary in your $PATH
@ -129,7 +129,7 @@ prefix the executable with `./` to run in place. If the binary is on your $PATH,
```sh
# Copy the influx binary to your $PATH
sudo cp influxdb_client_2.0.0-beta.14_darwin_amd64/influx /usr/local/bin/
sudo cp influxdb_client_2.0.0-beta.15_darwin_amd64/influx /usr/local/bin/
```
{{% note %}}
@ -152,8 +152,8 @@ Now, you're ready to [Use the influx CLI](#use-the-influx-cli).
Click one of the following buttons to download and install the `influx` CLI appropriate for your chipset.
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_client_2.0.0-beta.14_linux_amd64.tar.gz" download >influx CLI (amd64)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_client_2.0.0-beta.14_linux_arm64.tar.gz" download >influx CLI (arm)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_client_2.0.0-beta.15_linux_amd64.tar.gz" download >influx CLI (amd64)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_client_2.0.0-beta.15_linux_arm64.tar.gz" download >influx CLI (arm)</a>
#### Unpackage the influx binary
@ -161,7 +161,7 @@ Click one of the following buttons to download and install the `influx` CLI appr
```sh
# Unpackage contents to the current working directory
tar xvfz influxdb_client_2.0.0-beta.14_linux_amd64.tar.gz
tar xvfz influxdb_client_2.0.0-beta.15_linux_amd64.tar.gz
```
#### (Optional) Place the binary in your $PATH
@ -173,7 +173,7 @@ prefix the executable with `./` to run in place. If the binary is on your $PATH,
```sh
# Copy the influx and influxd binary to your $PATH
sudo cp influxdb_client_2.0.0-beta.14_linux_amd64/influx /usr/local/bin/
sudo cp influxdb_client_2.0.0-beta.15_linux_amd64/influx /usr/local/bin/
```
{{% note %}}
@ -218,7 +218,7 @@ executables, and running the initial setup process.
Download InfluxDB v2.0 beta for macOS.
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.14_darwin_amd64.tar.gz" download>InfluxDB v2.0 beta (macOS)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.15_darwin_amd64.tar.gz" download>InfluxDB v2.0 beta (macOS)</a>
### Unpackage the InfluxDB binaries
@ -228,7 +228,7 @@ or run the following command in a macOS command prompt application such
```sh
# Unpackage contents to the current working directory
tar zxvf ~/Downloads/influxdb_2.0.0-beta.14_darwin_amd64.tar.gz
tar zxvf ~/Downloads/influxdb_2.0.0-beta.15_darwin_amd64.tar.gz
```
#### (Optional) Place the binaries in your $PATH
@ -238,7 +238,7 @@ prefix the executables with `./` to run then in place.
```sh
# (Optional) Copy the influx and influxd binary to your $PATH
sudo cp influxdb_2.0.0-beta.14_darwin_amd64/{influx,influxd} /usr/local/bin/
sudo cp influxdb_2.0.0-beta.15_darwin_amd64/{influx,influxd} /usr/local/bin/
```
{{% note %}}
@ -307,8 +307,8 @@ influxd --reporting-disabled
Download the InfluxDB v2.0 beta package appropriate for your chipset.
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.14_linux_amd64.tar.gz" download >InfluxDB v2.0 beta (amd64)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.14_linux_arm64.tar.gz" download >InfluxDB v2.0 beta (arm)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.15_linux_amd64.tar.gz" download >InfluxDB v2.0 beta (amd64)</a>
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.15_linux_arm64.tar.gz" download >InfluxDB v2.0 beta (arm)</a>
### Place the executables in your $PATH
@ -318,10 +318,10 @@ _**Note:** The following commands are examples. Adjust the file names, paths, an
```sh
# Unpackage contents to the current working directory
tar xvzf path/to/influxdb_2.0.0-beta.14_linux_amd64.tar.gz
tar xvzf path/to/influxdb_2.0.0-beta.15_linux_amd64.tar.gz
# Copy the influx and influxd binary to your $PATH
sudo cp influxdb_2.0.0-beta.14_linux_amd64/{influx,influxd} /usr/local/bin/
sudo cp influxdb_2.0.0-beta.15_linux_amd64/{influx,influxd} /usr/local/bin/
```
{{% note %}}

View File

@ -20,9 +20,6 @@ _For information about finding and using InfluxDB templates, see
influx apply [flags]
```
#### Aliases
`apply`, `pkg` _(deprecated)_
## Flags
| Flag | | Description | Input Type | {{< cli/mapped >}} |
|:---- |:--- |:----------------------------- |:---------- |:------------------ |

View File

@ -0,0 +1,47 @@
---
title: influx telegrafs
description: >
The `influx telegrafs` command lists Telegraf configurations.
Subcommands manage Telegraf configurations.
menu:
v2_0_ref:
name: influx telegrafs
parent: influx
weight: 101
v2.0/tags: [telegraf]
---
The `influx telegrafs` command lists Telegraf configurations.
Subcommands manage Telegraf configurations.
## Usage
```sh
influx telegrafs [flags]
influx telegrafs [command]
```
## Subcommands
| Subcommand | Description |
|:---------- |:----------- |
| [create](/v2.0/reference/cli/influx/telegrafs/create) | Create a Telegraf configuration |
| [rm](/v2.0/reference/cli/influx/telegrafs/rm) | Remove a Telegraf configuration |
| [update](/v2.0/reference/cli/influx/telegrafs/update) | List Telegraf configurations |
## Flags
| Flag | | Description | Input type | {{< cli/mapped >}} |
|:---- |:--- |:----------- |:----------: |:------------------ |
| `-h` | `--help` | Help for the `telegrafs` command | | |
| | `--hide-headers` | Hide table headers | | `INFLUX_HIDE_HEADERS` |
| `-i` | `--id` | Telegraf configuration ID to retrieve | string | |
| | `--json` | Output data as JSON | | `INFLUX_OUTPUT_JSON` |
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
## Examples
```sh
# List all known Telegraf configurations
influx telegrafs
# List only a Telegraf configuration with the specified ID
influx telegrafs -i $ID
```

View File

@ -0,0 +1,46 @@
---
title: influx telegrafs create
description: >
The `influx telegrafs create` command creates a new Telegraf configuration in InfluxDB
using a provided Telegraf configuration file.
menu:
v2_0_ref:
name: influx telegrafs create
parent: influx telegrafs
weight: 201
---
The `influx telegrafs create` command creates a new Telegraf configuration in InfluxDB
using a provided Telegraf configuration file.
## Usage
```sh
influx telegrafs create [flags]
```
## Flags
| Flag | | Description | Input type | {{< cli/mapped >}} |
|:---- |:--- |:----------- |:----------: |:------------------ |
| `-d` | `--description` | Telegraf configuration description | string | |
| `-f` | `--file` | Path to Telegraf configuration | string | |
| `-h` | `--help` | Help for the `create` command | | |
| | `--hide-headers` | Hide table headers | | `INFLUX_HIDE_HEADERS` |
| | `--json` | Output data as JSON | | `INFLUX_OUTPUT_JSON` |
| `-n` | `--name` | Telegraf configuration name | string | |
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
## Examples
```sh
# Create a new Telegraf configuration
influx telegrafs create \
-n "Example configuration name" \
-d "Example Telegraf configuration description" \
-f /path/to/telegraf.conf
# Create a new Telegraf configuration with configuration settings
# provided via STDIN
cat /path/to/telegraf.conf | influx telegrafs create \
-n "Example configuration name" \
-d "Example Telegraf configuration description" \
```

View File

@ -0,0 +1,37 @@
---
title: influx telegrafs rm
description: >
The `influx telegrafs rm` command removes Telegraf configurations from InfluxDB.
menu:
v2_0_ref:
name: influx telegrafs rm
parent: influx telegrafs
weight: 201
---
The `influx telegrafs rm` command removes Telegraf configurations from InfluxDB.
## Usage
```sh
influx telegrafs rm [flags]
```
#### Aliases
`rm`, `remove`
## Flags
| Flag | | Description | Input type | {{< cli/mapped >}} |
|:---- |:--- |:----------- |:----------: |:------------------ |
| `-h` | `--help` | Help for the `rm` command | | |
| | `--hide-headers` | Hide the table headers | | `$INFLUX_HIDE_HEADERS` |
| `-i` | `--id` | Telegraf configuration ID to remove | strings | |
| | `--json` | Output data as json | | `$INFLUX_OUTPUT_JSON` |
## Examples
```sh
# Remove a single Telegraf configuration
influx telegrafs rm -i $ID
# Remove multiple Telegraf configurations
influx telegrafs rm -i $ID1 -i $ID2
```

View File

@ -0,0 +1,48 @@
---
title: influx telegrafs update
description: >
The `influx telegrafs update` command updates a Telegraf configuration to match the specified parameters.
If a name or description are not provided, they are set to an empty string.
menu:
v2_0_ref:
name: influx telegrafs update
parent: influx telegrafs
weight: 201
---
The `influx telegrafs update` command updates a Telegraf configuration to match the specified parameters.
If a name or description are not provided, they are set to an empty string.
## Usage
```sh
influx telegrafs update [flags]
```
## Flags
| Flag | | Description | Input type | {{< cli/mapped >}} |
|:---- |:--- |:----------- |:----------: |:------------------ |
| `-d` | `--description` | Telegraf configuration description | string | |
| `-f` | `--file` | Path to Telegraf configuration | string | |
| `-h` | `--help` | Help for the `update` command | | |
| | `--hide-headers` | Hide table headers | | `INFLUX_HIDE_HEADERS` |
| | `--json` | Output data as JSON | | `INFLUX_OUTPUT_JSON` |
| `-n` | `--name` | Telegraf configuration name | string | |
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
## Examples
```sh
# Update a Telegraf configuration
influx telegrafs update \
-i $ID \
-n "Example configuration name" \
-d "Example Telegraf configuration description" \
-f /path/to/telegraf.conf
# Update a Telegraf configuration with configuration settings
# provided via STDIN
cat /path/to/telegraf.conf | influx telegrafs update \
-i $ID \
-n "Example configuration name" \
-d "Example Telegraf configuration description" \
```

View File

@ -8,9 +8,24 @@ menu:
weight: 101
---
## v2.0.0-beta.15 [2020-07-23]
### Features
- Add event source to stacks.
- Add ability to uninstall stacks.
- Drop deprecated `influx pkg` commands.
- Add Telegraf management commands to `influx` CLI.
- Enable dynamic destination for the `influx` CLI configuration file.
### Bug Fixes
- Allow 0 to be the custom set minimum value for y domain.
- Single Stat cells render properly in Safari.
- Limit variable querying when submitting queries to used variables.
## v2.0.0-beta.14 [2020-07-08]
## Features
### Features
- Extend `influx stacks update` command with ability to add resources without apply template.
- Consolidate all InfluxDB template and stack functionality into two new public APIs: `/api/v2/templates` and `/api/v2/stacks`.
@ -18,14 +33,14 @@ weight: 101
- Add static builds for Linux.
- Update Flux to v.0.71.1.
## Bug Fixes
### Bug Fixes
- Don't overwrite build date set via `ldflags`.
- Fix issue where define query was unusable after importing a Check.
- Update documentation links
## v2.0.0-beta.13 [2020-06-25]
## Features
### Features
- Cancel submitted queries in the Data Explorer.
- Extend templates with the source `file|url|reader`.