merge influx global flags into normal flags, resolves #1150
parent
59c70432fe
commit
cb5f0d2db5
|
@ -76,5 +76,3 @@ To override environment variables, set the flag explicitly in your command.
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `influx` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -34,15 +34,16 @@ influx apply [flags]
|
|||
| | `--filter` | Resources to skip when applying the template (filter by `kind` or `resource`) | string | |
|
||||
| | `--force` | Ignore warnings about destructive changes | | |
|
||||
| `-h` | `--help` | Help for the `apply` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name that owns the bucket | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID that owns the bucket | string | `INFLUX_ORG_ID` |
|
||||
| `-q` | `--quiet` | Disable output printing | | |
|
||||
| `-R` | `--recurse` | Recurse through files in the directory specified in `-f`, `--file` | | |
|
||||
| | `--secret` | Secrets to provide with the template (format: `--secret=SECRET_KEY=SECRET_VALUE`) | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| | `--stack-id` | Stack ID to associate when applying the template | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
||||
## Examples
|
||||
```sh
|
||||
|
|
|
@ -33,5 +33,3 @@ influx auth [command]
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `auth` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -16,11 +16,12 @@ influx auth active [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `active` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | **(Required)** Authorization ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `active` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | **(Required)** Authorization ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -20,6 +20,7 @@ influx auth create [flags]
|
|||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `create` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | **(Required)** Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
|
@ -30,6 +31,8 @@ influx auth create [flags]
|
|||
| | `--read-tasks` | Grants permission to read tasks | | |
|
||||
| | `--read-telegrafs` | Grants permission to read Telegraf configurations | | |
|
||||
| | `--read-user` | Grants permission to read organization users | | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
| `-u` | `--user` | Username | string | |
|
||||
| | `--write-bucket` | Bucket ID | stringArray | |
|
||||
| | `--write-buckets` | Grants permission to create and update organization buckets | | |
|
||||
|
@ -38,5 +41,3 @@ influx auth create [flags]
|
|||
| | `--write-tasks` | Grants permission to create and update tasks | | |
|
||||
| | `--write-telegrafs` | Grants permission to create and update Telegraf configurations | | |
|
||||
| | `--write-user` | Grants permission to create and update organization users | | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -16,11 +16,12 @@ influx auth delete [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | **(Required)** Authorization ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | **(Required)** Authorization ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -16,11 +16,12 @@ influx auth inactive [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `inactive` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | **(Required)** Authorization ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `inactive` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | **(Required)** Authorization ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -21,15 +21,16 @@ influx auth list [flags]
|
|||
`list`, `ls`, `find`
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | Authorization ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | |
|
||||
| | `--org-id` | Organization ID | string | |
|
||||
| `-u` | `--user` | Username | string | |
|
||||
| | `--user-id` | User ID | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | Authorization ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | |
|
||||
| | `--org-id` | Organization ID | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
| `-u` | `--user` | Username | string | |
|
||||
| | `--user-id` | User ID | string | |
|
||||
|
|
|
@ -19,9 +19,10 @@ influx backup [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `backup` command | | |
|
||||
| `-p` | `--path` | Directory path to write backup files to | string | `INFLUX_PATH` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `backup` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-p` | `--path` | Directory path to write backup files to | string | `INFLUX_PATH` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -29,5 +29,3 @@ influx bucket [command]
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `bucket` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -21,10 +21,11 @@ influx bucket create [flags]
|
|||
| `-d` | `--description` | Bucket description | string | |
|
||||
| `-h` | `--help` | Help for the `create` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Bucket name | string | `INFLUX_BUCKET_NAME` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-r` | `--retention` | Duration bucket will retain data (0 is infinite, default is 0) | duration | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -18,14 +18,15 @@ influx bucket delete [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | Bucket ID _(required if no `--name`)_ | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Bucket name _(requires `--org` or `org-id`)_ | string | |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | Bucket ID _(required if no `--name`)_ | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Bucket name _(requires `--org` or `org-id`)_ | string | |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -21,14 +21,15 @@ influx bucket list [flags]
|
|||
`list`, `ls`, `find`
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | Bucket ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Bucket name | string | `INFLUX_BUCKET_NAME` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | Bucket ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Bucket name | string | `INFLUX_BUCKET_NAME` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -16,14 +16,15 @@ influx bucket update [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-d` | `--description` | Bucket description | string | |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | **(Required)** Bucket ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | New bucket name | string | `INFLUX_BUCKET_NAME` |
|
||||
| `-r` | `--retention` | New duration bucket will retain data | duration | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-d` | `--description` | Bucket description | string | |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | **(Required)** Bucket ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | New bucket name | string | `INFLUX_BUCKET_NAME` |
|
||||
| `-r` | `--retention` | New duration bucket will retain data | duration | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -24,8 +24,6 @@ influx completion [bash|zsh] [flags]
|
|||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `completion` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
||||
## Install completion scripts
|
||||
|
||||
Add the appropriate installation command below to your `.bashrc` or `.zshrc`.
|
||||
|
|
|
@ -58,5 +58,3 @@ influx config local-config
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `config` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -27,8 +27,6 @@ influx config create [flags]
|
|||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
||||
## Examples
|
||||
```sh
|
||||
# Create a connection configuration and set it active
|
||||
|
|
|
@ -27,5 +27,3 @@ influx config list [flags]
|
|||
| `-h` | `--help` | Help for the `list` command | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | `INFLUX_OUTPUT_JSON` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -29,8 +29,6 @@ influx config rm <config-name> [flags]
|
|||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
||||
## Examples
|
||||
```sh
|
||||
# Delete a connection configuration
|
||||
|
|
|
@ -30,8 +30,6 @@ influx config set [flags]
|
|||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name for the connection configuration | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
||||
## Examples
|
||||
```sh
|
||||
# Update a connection configuration and set it to active
|
||||
|
|
|
@ -23,15 +23,16 @@ timestamps between the specified `--start` and `--stop` times in the specified b
|
|||
{{% /warn %}}
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-b` | `--bucket` | Name of bucket to remove data from | string | `INFLUX_BUCKET_NAME` |
|
||||
| | `--bucket-id` | Bucket ID | string | `INFLUX_BUCKET_ID` |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-p` | `--predicate` | InfluxQL-like predicate string (see [Delete predicate](/v2.0/reference/syntax/delete-predicate)) | string | |
|
||||
| | `--start` | Start time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | string | |
|
||||
| | `--stop` | Stop time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-b` | `--bucket` | Name of bucket to remove data from | string | `INFLUX_BUCKET_NAME` |
|
||||
| | `--bucket-id` | Bucket ID | string | `INFLUX_BUCKET_ID` |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-p` | `--predicate` | InfluxQL-like predicate string (see [Delete predicate](/v2.0/reference/syntax/delete-predicate)) | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| | `--start` | Start time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | string | |
|
||||
| | `--stop` | Stop time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | string | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -29,22 +29,23 @@ influx export [command]
|
|||
|
||||
## Flags
|
||||
|
||||
| Flag | | Description | Input Type |
|
||||
|:---- |:--- |:----------- |:---------- |
|
||||
| | `--buckets` | Comma-separated list of bucket IDs | string |
|
||||
| | `--checks` | Comma-separated list of check IDs | string |
|
||||
| | `--dashboards` | Comma-separated list of dashboard IDs | string |
|
||||
| | `--endpoints` | Comma-separated list of notification endpoint IDs | string |
|
||||
| `-f` | `--file` | Template output file. Defaults to stdout. Use `.yml` or `.json` file extensions. | string |
|
||||
| `-h` | `--help` | Help for the `export` command | |
|
||||
| | `--labels` | Comma-separated list of label IDs | string |
|
||||
| | `--resource-type` | Resource type associated with all IDs via stdin | string |
|
||||
| | `--rules` | Comma-separated list of notification rule IDs | string |
|
||||
| | `--tasks` | Comma-separated list of task IDs | string |
|
||||
| | `--telegraf-configs` | Comma-separated list of Telegraf configuration IDs | string |
|
||||
| | `--variables` | Comma-separated list of variable IDs | string |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input Type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:---------- |:------------------ |
|
||||
| | `--buckets` | Comma-separated list of bucket IDs | string | |
|
||||
| | `--checks` | Comma-separated list of check IDs | string | |
|
||||
| | `--dashboards` | Comma-separated list of dashboard IDs | string | |
|
||||
| | `--endpoints` | Comma-separated list of notification endpoint IDs | string | |
|
||||
| `-f` | `--file` | Template output file. Defaults to stdout. Use `.yml` or `.json` file extensions. | string | |
|
||||
| `-h` | `--help` | Help for the `export` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--labels` | Comma-separated list of label IDs | string | |
|
||||
| | `--resource-type` | Resource type associated with all IDs via stdin | string | |
|
||||
| | `--rules` | Comma-separated list of notification rule IDs | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| | `--tasks` | Comma-separated list of task IDs | string | |
|
||||
| | `--telegraf-configs` | Comma-separated list of Telegraf configuration IDs | string | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
| | `--variables` | Comma-separated list of variable IDs | string | |
|
||||
|
||||
## Examples
|
||||
```sh
|
||||
|
|
|
@ -23,15 +23,17 @@ influx export all [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input Type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:---------- |:------------------ |
|
||||
| `-f` | `--file` | Template output file. Defaults to stdout. Use `.yml` or `.json` file extensions. | string | |
|
||||
| | `--filter` | Specify resources to export by labelName or resourceKind (format: `--filter=labelName=example`) | list of strings |
|
||||
| `-h` | `--help` | Help for the `export all` command | | |
|
||||
| `-o` | `--org` | Organization name that owns the resources | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID that owns the resources | string | `INFLUX_ORG_ID` |
|
||||
| Flag | | Description | Input Type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:---------- |:------------------ |
|
||||
| `-f` | `--file` | Template output file. Defaults to stdout. Use `.yml` or `.json` file extensions. | string | |
|
||||
| | `--filter` | Specify resources to export by labelName or resourceKind (format: `--filter=labelName=example`) | list of strings | |
|
||||
| `-h` | `--help` | Help for the `export all` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-o` | `--org` | Organization name that owns the resources | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID that owns the resources | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
||||
## Examples
|
||||
```sh
|
||||
|
|
|
@ -19,14 +19,15 @@ influx export stack <stack_id> [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input Type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:---------- |:------------------ |
|
||||
| `-f` | `--file` | Template output file. Defaults to stdout. Use `.yml` or `.json` file extensions. | string | |
|
||||
| `-h` | `--help` | Help for the `export stack` command | | |
|
||||
| `-o` | `--org` | Organization name that owns the resources | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID that owns the resources | string | `INFLUX_ORG_ID` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input Type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:---------- |:------------------ |
|
||||
| `-f` | `--file` | Template output file. Defaults to stdout. Use `.yml` or `.json` file extensions. | string | |
|
||||
| `-h` | `--help` | Help for the `export stack` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-o` | `--org` | Organization name that owns the resources | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID that owns the resources | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
||||
## Examples
|
||||
```sh
|
||||
|
|
|
@ -19,5 +19,3 @@ influx help [command] [flags]
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `help` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -33,5 +33,3 @@ influx org [command]
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `org` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -16,12 +16,13 @@ influx org create [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-d` | `--description` | Description of the organization | | |
|
||||
| `-h` | `--help` | Help for the `create` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Organization name | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-d` | `--description` | Description of the organization | | |
|
||||
| `-h` | `--help` | Help for the `create` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Organization name | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -16,11 +16,12 @@ influx org delete [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | **(Required)** Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | **(Required)** Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -21,12 +21,13 @@ influx org list [flags]
|
|||
`list`, `ls`, `find`
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | Organization ID | string | `INFLUX_ORG` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Organization name | string | `INFLUX_ORG_ID` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | Organization ID | string | `INFLUX_ORG` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Organization name | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -28,5 +28,3 @@ influx org members [command]
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `members` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -16,11 +16,12 @@ influx org members add [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `add` command | | |
|
||||
| `-i` | `--id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-m` | `--member` | Member ID | string | |
|
||||
| `-n` | `--name` | Organization name | string | `INFLUX_ORG` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `add` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-m` | `--member` | Member ID | string | |
|
||||
| `-n` | `--name` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -16,12 +16,13 @@ influx org members list [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Organization name | string | `INFLUX_ORG` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -16,11 +16,12 @@ influx org members remove [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `remove` command | | |
|
||||
| `-i` | `--id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-o` | `--member` | Member ID | string | |
|
||||
| `-n` | `--name` | Organization name | string | `INFLUX_ORG` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `remove` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-o` | `--member` | Member ID | string | |
|
||||
| `-n` | `--name` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -16,13 +16,14 @@ influx org update [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-d` | `--description` | Description for the organization | string | `INFLUX_ORG_DESCRIPTION` |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | **(Required)** Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Organization name | string | `INFLUX_ORG` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-d` | `--description` | Description for the organization | string | `INFLUX_ORG_DESCRIPTION` |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | **(Required)** Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -21,8 +21,8 @@ influx ping [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `ping` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | {{< cli/mapped >}}
|
||||
|:---- |:--- |:----------- |:----------------- |
|
||||
| `-h` | `--help` | Help for the `ping` command ||
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
|
|
|
@ -20,12 +20,12 @@ influx query [query literal] [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-f` | `--file` | Path to Flux script file | string | |
|
||||
| `-h` | `--help` | Help for the `query` command | | |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-f` | `--file` | Path to Flux script file | string | |
|
||||
| `-h` | `--help` | Help for the `query` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -26,10 +26,11 @@ Use **ctrl + d** to exit the REPL.
|
|||
To use the Flux REPL, you must first authenticate with a [token](/v2.0/security/tokens/view-tokens/).
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `repl` command | | |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `repl` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -28,5 +28,3 @@ influx secret [subcommand]
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `secret` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -17,13 +17,14 @@ influx secret delete [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-k` | `--key` | **(Required)** Secret key | string | |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-k` | `--key` | **(Required)** Secret key | string | |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -20,12 +20,13 @@ influx secret list [flags]
|
|||
`list`, `ls`, `find`
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -26,14 +26,15 @@ influx secret update [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-k` | `--key` | **(Required)** Secret key | string | |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-v` | `--value` | Secret value | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-k` | `--key` | **(Required)** Secret key | string | |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
| `-v` | `--value` | Secret value | string | |
|
||||
|
|
|
@ -20,14 +20,15 @@ influx setup [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Data type |
|
||||
|:---- |:--- |:----------- |:---------:|
|
||||
| `-b` | `--bucket` | Primary bucket name | string |
|
||||
| `-f` | `--force` | Skip confirmation prompt | |
|
||||
| `-h` | `--help` | Help for the `setup` command | |
|
||||
| `-o` | `--org` | Primary organization name | string |
|
||||
| `-p` | `--password` | Password for primary user | string |
|
||||
| `-r` | `--retention` | Duration bucket will retain data (0 is infinite, default is 0) | duration |
|
||||
| `-u` | `--username` | Primary username | string |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Data type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:---------:|:------------------ |
|
||||
| `-b` | `--bucket` | Primary bucket name | string | |
|
||||
| `-f` | `--force` | Skip confirmation prompt | | |
|
||||
| `-h` | `--help` | Help for the `setup` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-o` | `--org` | Primary organization name | string | |
|
||||
| `-p` | `--password` | Password for primary user | string | |
|
||||
| `-r` | `--retention` | Duration bucket will retain data (0 is infinite, default is 0) | duration | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Token for admin user (auto-generated by default) | string | `INFLUX_TOKEN` |
|
||||
| `-u` | `--username` | Primary username | string | |
|
||||
|
|
|
@ -29,14 +29,15 @@ influx stacks [command]
|
|||
| [remove](/v2.0/reference/cli/influx/stacks/remove/) | Remove a stack |
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `stacks` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--stack-id` | Stack IDs to filter by | list of strings | |
|
||||
| | `--stack-name` | Stack names to filter by | list of strings | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `stacks` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| | `--stack-id` | Stack IDs to filter by | list of strings | |
|
||||
| | `--stack-name` | Stack names to filter by | list of strings | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -19,18 +19,19 @@ influx stacks init [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `init` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-d` | `--stack-description` | Stack description | string | |
|
||||
| `-n` | `--stack-name` | Stack name | string | |
|
||||
| `-u` | `--template-url` | Template URLs to associate with a stack | list of strings | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `init` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-d` | `--stack-description` | Stack description | string | |
|
||||
| `-n` | `--stack-name` | Stack name | string | |
|
||||
| `-u` | `--template-url` | Template URLs to associate with a stack | list of strings | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
||||
## Examples
|
||||
```sh
|
||||
|
|
|
@ -22,13 +22,14 @@ influx stacks remove [flags]
|
|||
`remove`, `rm`, `uninstall`
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `remove` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--stack-id` | Stack IDs to remove | list of strings | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `remove` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| | `--stack-id` | Stack IDs to remove | list of strings | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -17,17 +17,18 @@ influx stacks update [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--stack-id` | The stack ID to update | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-d` | `--stack-description` | Stack description | string | |
|
||||
| `-n` | `--stack-name` | Stack name | string | |
|
||||
| `-u` | `--template-url` | Template URLs to associate with a stack | list of strings | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--stack-id` | The stack ID to update | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-d` | `--stack-description` | Stack description | string | |
|
||||
| `-n` | `--stack-name` | Stack name | string | |
|
||||
| `-u` | `--template-url` | Template URLs to associate with a stack | list of strings | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
||||
## Examples
|
||||
```sh
|
||||
|
|
|
@ -31,5 +31,3 @@ influx task [command]
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `task` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -16,14 +16,14 @@ influx task create [query literal] [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:--------------------- |
|
||||
| `-f` | `--file` | Path to Flux script file | string | |
|
||||
| `-h` | `--help` | Help for the `create` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:--------------------- |
|
||||
| `-f` | `--file` | Path to Flux script file | string | |
|
||||
| `-h` | `--help` | Help for the `create` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -16,11 +16,12 @@ influx task delete [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | **(Required)** Task ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | **(Required)** Task ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -21,15 +21,16 @@ influx task list [flags]
|
|||
`list`, `ls`, `find`
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | Task ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--limit` | Number of tasks to find (default `100`) | integer | |
|
||||
| `-o` | `--org` | Task organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Task organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-n` | `--user-id` | Task owner ID | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | Task ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--limit` | Number of tasks to find (default `100`) | integer | |
|
||||
| `-o` | `--org` | Task organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Task organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
| `-n` | `--user-id` | Task owner ID | string | |
|
||||
|
|
|
@ -26,5 +26,3 @@ influx task log [command]
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `log` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -21,12 +21,13 @@ influx task log list [flags]
|
|||
`list`, `ls`, `find`
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--run-id` | Run ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--task-id` | **(Required)** Task ID | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--run-id` | Run ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| | `--task-id` | **(Required)** Task ID | string | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -28,5 +28,3 @@ influx task run [command]
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `run` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -21,15 +21,16 @@ influx task run list [flags]
|
|||
`list`, `ls`, `find`
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| | `--after` | After-time for filtering | string | |
|
||||
| | `--before` | Before-time for filtering | string | |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--limit` | Limit the number of results | integer | |
|
||||
| | `--run-id` | Run ID | string | |
|
||||
| | `--task-id` | **(Required)** Task ID | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| | `--after` | After-time for filtering | string | |
|
||||
| | `--before` | Before-time for filtering | string | |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--limit` | Limit the number of results | integer | |
|
||||
| | `--run-id` | Run ID | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| | `--task-id` | **(Required)** Task ID | string | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -16,10 +16,11 @@ influx task run retry [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type |
|
||||
|:---- |:--- |:----------- |:----------: |
|
||||
| `-h` | `--help` | Help for the `retry` command | |
|
||||
| `-r` | `--run-id` | **(Required)** Run ID | string |
|
||||
| `-i` | `--task-id` | **(Required)** Task ID | string |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `retry` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-r` | `--run-id` | **(Required)** Run ID | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-i` | `--task-id` | **(Required)** Task ID | string | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -16,14 +16,14 @@ influx task update [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-f` | `--file` | Path to Flux script file | string | |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | **(Required)** Task ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--status` | Update task status | string | |
|
||||
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-f` | `--file` | Path to Flux script file | string | |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | **(Required)** Task ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| | `--status` | Update task status | string | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -34,5 +34,3 @@ influx template [command]
|
|||
| `-h` | `--help` | Help for the `template` command | | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-R` | `--recurse` | Recurse through files in the directory specified in `-f`, `--file` | | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -26,5 +26,3 @@ influx template validate [flags]
|
|||
| `-h` | `--help` | Help for the `validate` command | |
|
||||
| `-R` | `--recurse` | Recurse through files in the directory specified in `-f`, `--file` | |
|
||||
| `-u` | `--template-url` | URL of template file to validate | string |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -24,5 +24,3 @@ influx transpile [InfluxQL query] [flags]
|
|||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `transpile` command |
|
||||
| | `--now` | RFC3339Nano timestamp to use as `now()` time (default is current UTC time) |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -30,5 +30,3 @@ influx user [command]
|
|||
| Flag | | Description |
|
||||
|:---- |:--- |:----------- |
|
||||
| `-h` | `--help` | Help for the `user` command |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -16,14 +16,15 @@ influx user create [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `create` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | **(Required)** Username | string | `INFLUX_NAME` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-p` | `--password` | User password | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `create` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | **(Required)** Username | string | `INFLUX_NAME` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-p` | `--password` | User password | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -16,11 +16,12 @@ influx user delete [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | **(Required)** User ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `delete` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | **(Required)** User ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -21,12 +21,13 @@ influx user list [flags]
|
|||
`list`, `ls`, `find`
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | User ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Username | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `list` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | User ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Username | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -18,10 +18,11 @@ influx user password [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type |
|
||||
|:---- |:--- |:----------- |:----------: |
|
||||
| `-h` | `--help` | Help for the `password` command | |
|
||||
| `-i` | `--id` | User ID | string |
|
||||
| `-n` | `--name` | Username | string |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `password` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | User ID | string | |
|
||||
| `-n` | `--name` | Username | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -17,12 +17,13 @@ influx user update [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| `-i` | `--id` | **(Required)** User ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Username | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
| `-h` | `--help` | Help for the `update` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-i` | `--id` | **(Required)** User ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | Username | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
|
|
@ -30,21 +30,22 @@ influx write [command]
|
|||
| [dryrun](/v2.0/reference/cli/influx/write/dryrun) | Write to stdout instead of InfluxDB |
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-b` | `--bucket` | Bucket name | string | `INFLUX_BUCKET_NAME` |
|
||||
| | `--bucket-id` | Bucket ID | string | `INFLUX_BUCKET_ID` |
|
||||
| | `--debug` | Output errors to stderr | | |
|
||||
| | `--encoding` | Character encoding of input (default `UTF-8`) | string | |
|
||||
| `-f` | `--file` | File to import | string | |
|
||||
| | `--format` | Input format (`lp` or `csv`, default `lp`) | string | |
|
||||
| | `--header` | Prepend header line to CSV input data | string | |
|
||||
| `-h` | `--help` | Help for the `dryrun` command | | |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-p` | `--precision` | Precision of the timestamps (default `ns`) | string | `INFLUX_PRECISION` |
|
||||
| | `--skipHeader` | Skip first n rows of input data | integer | |
|
||||
| | `--skipRowOnError` | Output CSV errors to stderr, but continue processing | | |
|
||||
| `-u` | `--url` | URL to import data from | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-b` | `--bucket` | Bucket name | string | `INFLUX_BUCKET_NAME` |
|
||||
| | `--bucket-id` | Bucket ID | string | `INFLUX_BUCKET_ID` |
|
||||
| | `--debug` | Output errors to stderr | | |
|
||||
| | `--encoding` | Character encoding of input (default `UTF-8`) | string | |
|
||||
| `-f` | `--file` | File to import | string | |
|
||||
| | `--format` | Input format (`lp` or `csv`, default `lp`) | string | |
|
||||
| | `--header` | Prepend header line to CSV input data | string | |
|
||||
| `-h` | `--help` | Help for the `dryrun` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-p` | `--precision` | Precision of the timestamps (default `ns`) | string | `INFLUX_PRECISION` |
|
||||
| | `--skipHeader` | Skip first n rows of input data | integer | |
|
||||
| | `--skipRowOnError` | Output CSV errors to stderr, but continue processing | | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
| `-u` | `--url` | URL to import data from | string | |
|
||||
|
|
|
@ -24,21 +24,22 @@ influx write dryrun [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-b` | `--bucket` | Bucket name | string | `INFLUX_BUCKET_NAME` |
|
||||
| | `--bucket-id` | Bucket ID | string | `INFLUX_BUCKET_ID` |
|
||||
| | `--debug` | Output errors to stderr | | |
|
||||
| | `--encoding` | Character encoding of input (default `UTF-8`) | string | |
|
||||
| `-f` | `--file` | File to import | string | |
|
||||
| | `--format` | Input format (`lp` or `csv`, default `lp`) | string | |
|
||||
| | `--header` | Prepend header line to CSV input data | string | |
|
||||
| `-h` | `--help` | Help for the `dryrun` command | | |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-p` | `--precision` | Precision of the timestamps (default `ns`) | string | `INFLUX_PRECISION` |
|
||||
| | `--skipHeader` | Skip first n rows of input data | integer | |
|
||||
| | `--skipRowOnError` | Output CSV errors to stderr, but continue processing | | |
|
||||
| `-u` | `--url` | URL to import data from | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------:|:------------------ |
|
||||
| `-b` | `--bucket` | Bucket name | string | `INFLUX_BUCKET_NAME` |
|
||||
| | `--bucket-id` | Bucket ID | string | `INFLUX_BUCKET_ID` |
|
||||
| | `--debug` | Output errors to stderr | | |
|
||||
| | `--encoding` | Character encoding of input (default `UTF-8`) | string | |
|
||||
| `-f` | `--file` | File to import | string | |
|
||||
| | `--format` | Input format (`lp` or `csv`, default `lp`) | string | |
|
||||
| | `--header` | Prepend header line to CSV input data | string | |
|
||||
| `-h` | `--help` | Help for the `dryrun` command | | |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| `-p` | `--precision` | Precision of the timestamps (default `ns`) | string | `INFLUX_PRECISION` |
|
||||
| | `--skipHeader` | Skip first n rows of input data | integer | |
|
||||
| | `--skipRowOnError` | Output CSV errors to stderr, but continue processing | | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
| `-u` | `--url` | URL to import data from | string | |
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
{{ $currentVersion := (index (findRE "[^/]+.*?" .Page.RelPermalink) 0) }}
|
||||
{{ $link := print "/" $currentVersion "/reference/cli/influx/#mapped-environment-variables"}}
|
||||
|
||||
## Global Flags
|
||||
|
||||
| Flag | | Description | Input type | Maps to <a class ="q-link" href ="{{ $link }}">?</a> |
|
||||
|:---- |:--- |:----------- |:----------:|:---------------------------------------------------- |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | API token to use in client calls | string | `INFLUX_TOKEN` |
|
Loading…
Reference in New Issue