From cb5f0d2db56f88de42d7326c770ec634e4a66ea3 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 24 Jun 2020 15:33:35 -0600 Subject: [PATCH] merge influx global flags into normal flags, resolves #1150 --- content/v2.0/reference/cli/influx/_index.md | 2 - .../v2.0/reference/cli/influx/apply/_index.md | 5 ++- .../v2.0/reference/cli/influx/auth/_index.md | 2 - .../v2.0/reference/cli/influx/auth/active.md | 17 +++++---- .../v2.0/reference/cli/influx/auth/create.md | 5 ++- .../v2.0/reference/cli/influx/auth/delete.md | 17 +++++---- .../reference/cli/influx/auth/inactive.md | 17 +++++---- .../v2.0/reference/cli/influx/auth/list.md | 25 +++++++------ .../reference/cli/influx/backup/_index.md | 13 ++++--- .../reference/cli/influx/bucket/_index.md | 2 - .../reference/cli/influx/bucket/create.md | 5 ++- .../reference/cli/influx/bucket/delete.md | 23 ++++++------ .../v2.0/reference/cli/influx/bucket/list.md | 23 ++++++------ .../reference/cli/influx/bucket/update.md | 23 ++++++------ .../reference/cli/influx/completion/_index.md | 2 - .../reference/cli/influx/config/_index.md | 2 - .../reference/cli/influx/config/create.md | 2 - .../v2.0/reference/cli/influx/config/list.md | 2 - .../v2.0/reference/cli/influx/config/rm.md | 2 - .../v2.0/reference/cli/influx/config/set.md | 2 - .../reference/cli/influx/delete/_index.md | 25 +++++++------ .../reference/cli/influx/export/_index.md | 33 +++++++++-------- .../v2.0/reference/cli/influx/export/all.md | 18 +++++---- .../v2.0/reference/cli/influx/export/stack.md | 17 +++++---- .../v2.0/reference/cli/influx/help/_index.md | 2 - .../v2.0/reference/cli/influx/org/_index.md | 2 - .../v2.0/reference/cli/influx/org/create.md | 19 +++++----- .../v2.0/reference/cli/influx/org/delete.md | 17 +++++---- content/v2.0/reference/cli/influx/org/list.md | 19 +++++----- .../cli/influx/org/members/_index.md | 2 - .../reference/cli/influx/org/members/add.md | 17 +++++---- .../reference/cli/influx/org/members/list.md | 19 +++++----- .../cli/influx/org/members/remove.md | 17 +++++---- .../v2.0/reference/cli/influx/org/update.md | 21 ++++++----- .../v2.0/reference/cli/influx/ping/_index.md | 10 ++--- .../v2.0/reference/cli/influx/query/_index.md | 18 ++++----- .../v2.0/reference/cli/influx/repl/_index.md | 15 ++++---- .../reference/cli/influx/secret/_index.md | 2 - .../reference/cli/influx/secret/delete.md | 21 ++++++----- .../v2.0/reference/cli/influx/secret/list.md | 19 +++++----- .../reference/cli/influx/secret/update.md | 23 ++++++------ .../v2.0/reference/cli/influx/setup/_index.md | 23 ++++++------ .../reference/cli/influx/stacks/_index.md | 23 ++++++------ .../v2.0/reference/cli/influx/stacks/init.md | 25 +++++++------ .../reference/cli/influx/stacks/remove.md | 21 ++++++----- .../reference/cli/influx/stacks/update.md | 23 ++++++------ .../v2.0/reference/cli/influx/task/_index.md | 2 - .../v2.0/reference/cli/influx/task/create.md | 22 +++++------ .../v2.0/reference/cli/influx/task/delete.md | 17 +++++---- .../v2.0/reference/cli/influx/task/list.md | 25 +++++++------ .../reference/cli/influx/task/log/_index.md | 2 - .../reference/cli/influx/task/log/list.md | 19 +++++----- .../reference/cli/influx/task/run/_index.md | 2 - .../reference/cli/influx/task/run/list.md | 25 +++++++------ .../reference/cli/influx/task/run/retry.md | 15 ++++---- .../v2.0/reference/cli/influx/task/update.md | 22 +++++------ .../reference/cli/influx/template/_index.md | 2 - .../reference/cli/influx/template/validate.md | 2 - .../reference/cli/influx/transpile/_index.md | 2 - .../v2.0/reference/cli/influx/user/_index.md | 2 - .../v2.0/reference/cli/influx/user/create.md | 23 ++++++------ .../v2.0/reference/cli/influx/user/delete.md | 17 +++++---- .../v2.0/reference/cli/influx/user/list.md | 19 +++++----- .../reference/cli/influx/user/password.md | 15 ++++---- .../v2.0/reference/cli/influx/user/update.md | 19 +++++----- .../v2.0/reference/cli/influx/write/_index.md | 37 ++++++++++--------- .../v2.0/reference/cli/influx/write/dryrun.md | 37 ++++++++++--------- layouts/shortcodes/cli/influx-global-flags.md | 10 ----- 68 files changed, 486 insertions(+), 492 deletions(-) delete mode 100644 layouts/shortcodes/cli/influx-global-flags.md diff --git a/content/v2.0/reference/cli/influx/_index.md b/content/v2.0/reference/cli/influx/_index.md index b841a93cc..672618df2 100644 --- a/content/v2.0/reference/cli/influx/_index.md +++ b/content/v2.0/reference/cli/influx/_index.md @@ -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 %}} diff --git a/content/v2.0/reference/cli/influx/apply/_index.md b/content/v2.0/reference/cli/influx/apply/_index.md index 1ac0e76cc..0e7ba2a95 100644 --- a/content/v2.0/reference/cli/influx/apply/_index.md +++ b/content/v2.0/reference/cli/influx/apply/_index.md @@ -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 diff --git a/content/v2.0/reference/cli/influx/auth/_index.md b/content/v2.0/reference/cli/influx/auth/_index.md index 763e0b0e1..cd5199ec9 100644 --- a/content/v2.0/reference/cli/influx/auth/_index.md +++ b/content/v2.0/reference/cli/influx/auth/_index.md @@ -33,5 +33,3 @@ influx auth [command] | Flag | | Description | |:---- |:--- |:----------- | | `-h` | `--help` | Help for the `auth` command | - -{{% cli/influx-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/auth/active.md b/content/v2.0/reference/cli/influx/auth/active.md index a78e00b51..0390717f9 100644 --- a/content/v2.0/reference/cli/influx/auth/active.md +++ b/content/v2.0/reference/cli/influx/auth/active.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/auth/create.md b/content/v2.0/reference/cli/influx/auth/create.md index 3c938e1b8..2850ebeb0 100644 --- a/content/v2.0/reference/cli/influx/auth/create.md +++ b/content/v2.0/reference/cli/influx/auth/create.md @@ -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 %}} diff --git a/content/v2.0/reference/cli/influx/auth/delete.md b/content/v2.0/reference/cli/influx/auth/delete.md index 0bd749505..3cebf7782 100644 --- a/content/v2.0/reference/cli/influx/auth/delete.md +++ b/content/v2.0/reference/cli/influx/auth/delete.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/auth/inactive.md b/content/v2.0/reference/cli/influx/auth/inactive.md index 4939d6e47..62f1b34d0 100644 --- a/content/v2.0/reference/cli/influx/auth/inactive.md +++ b/content/v2.0/reference/cli/influx/auth/inactive.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/auth/list.md b/content/v2.0/reference/cli/influx/auth/list.md index 24ed6c775..5585d6e85 100644 --- a/content/v2.0/reference/cli/influx/auth/list.md +++ b/content/v2.0/reference/cli/influx/auth/list.md @@ -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 | | diff --git a/content/v2.0/reference/cli/influx/backup/_index.md b/content/v2.0/reference/cli/influx/backup/_index.md index 2bfd7efd8..5d2b4b74e 100644 --- a/content/v2.0/reference/cli/influx/backup/_index.md +++ b/content/v2.0/reference/cli/influx/backup/_index.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/bucket/_index.md b/content/v2.0/reference/cli/influx/bucket/_index.md index a3b3b23d8..8aa25367b 100644 --- a/content/v2.0/reference/cli/influx/bucket/_index.md +++ b/content/v2.0/reference/cli/influx/bucket/_index.md @@ -29,5 +29,3 @@ influx bucket [command] | Flag | | Description | |:---- |:--- |:----------- | | `-h` | `--help` | Help for the `bucket` command | - -{{% cli/influx-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/bucket/create.md b/content/v2.0/reference/cli/influx/bucket/create.md index 8c8bac865..3d9572ab5 100644 --- a/content/v2.0/reference/cli/influx/bucket/create.md +++ b/content/v2.0/reference/cli/influx/bucket/create.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/bucket/delete.md b/content/v2.0/reference/cli/influx/bucket/delete.md index ae96e87ea..c0720daf9 100644 --- a/content/v2.0/reference/cli/influx/bucket/delete.md +++ b/content/v2.0/reference/cli/influx/bucket/delete.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/bucket/list.md b/content/v2.0/reference/cli/influx/bucket/list.md index 98d87a625..029c46065 100644 --- a/content/v2.0/reference/cli/influx/bucket/list.md +++ b/content/v2.0/reference/cli/influx/bucket/list.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/bucket/update.md b/content/v2.0/reference/cli/influx/bucket/update.md index 21e94d67e..4d2cb3e7f 100644 --- a/content/v2.0/reference/cli/influx/bucket/update.md +++ b/content/v2.0/reference/cli/influx/bucket/update.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/completion/_index.md b/content/v2.0/reference/cli/influx/completion/_index.md index 9c8e2defe..f81c89fd0 100644 --- a/content/v2.0/reference/cli/influx/completion/_index.md +++ b/content/v2.0/reference/cli/influx/completion/_index.md @@ -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`. diff --git a/content/v2.0/reference/cli/influx/config/_index.md b/content/v2.0/reference/cli/influx/config/_index.md index eb3bab994..151ea631b 100644 --- a/content/v2.0/reference/cli/influx/config/_index.md +++ b/content/v2.0/reference/cli/influx/config/_index.md @@ -58,5 +58,3 @@ influx config local-config | Flag | | Description | |:---- |:--- |:----------- | | `-h` | `--help` | Help for the `config` command | - -{{% cli/influx-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/config/create.md b/content/v2.0/reference/cli/influx/config/create.md index 80090fe0c..16419d721 100644 --- a/content/v2.0/reference/cli/influx/config/create.md +++ b/content/v2.0/reference/cli/influx/config/create.md @@ -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 diff --git a/content/v2.0/reference/cli/influx/config/list.md b/content/v2.0/reference/cli/influx/config/list.md index dcc20b0b6..99834dd4a 100644 --- a/content/v2.0/reference/cli/influx/config/list.md +++ b/content/v2.0/reference/cli/influx/config/list.md @@ -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 %}} diff --git a/content/v2.0/reference/cli/influx/config/rm.md b/content/v2.0/reference/cli/influx/config/rm.md index b8ac7d50b..b17aa42f6 100644 --- a/content/v2.0/reference/cli/influx/config/rm.md +++ b/content/v2.0/reference/cli/influx/config/rm.md @@ -29,8 +29,6 @@ influx config rm [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 diff --git a/content/v2.0/reference/cli/influx/config/set.md b/content/v2.0/reference/cli/influx/config/set.md index 70351435b..cf330301a 100644 --- a/content/v2.0/reference/cli/influx/config/set.md +++ b/content/v2.0/reference/cli/influx/config/set.md @@ -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 diff --git a/content/v2.0/reference/cli/influx/delete/_index.md b/content/v2.0/reference/cli/influx/delete/_index.md index 2050eabe4..b69243079 100644 --- a/content/v2.0/reference/cli/influx/delete/_index.md +++ b/content/v2.0/reference/cli/influx/delete/_index.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/export/_index.md b/content/v2.0/reference/cli/influx/export/_index.md index e3ca42727..586b24b4b 100644 --- a/content/v2.0/reference/cli/influx/export/_index.md +++ b/content/v2.0/reference/cli/influx/export/_index.md @@ -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 diff --git a/content/v2.0/reference/cli/influx/export/all.md b/content/v2.0/reference/cli/influx/export/all.md index 6ccb5c196..ed3cd228b 100644 --- a/content/v2.0/reference/cli/influx/export/all.md +++ b/content/v2.0/reference/cli/influx/export/all.md @@ -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 diff --git a/content/v2.0/reference/cli/influx/export/stack.md b/content/v2.0/reference/cli/influx/export/stack.md index e5e66f67a..e5f03e091 100644 --- a/content/v2.0/reference/cli/influx/export/stack.md +++ b/content/v2.0/reference/cli/influx/export/stack.md @@ -19,14 +19,15 @@ influx export stack [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 diff --git a/content/v2.0/reference/cli/influx/help/_index.md b/content/v2.0/reference/cli/influx/help/_index.md index bfd059e31..6feb30cdb 100644 --- a/content/v2.0/reference/cli/influx/help/_index.md +++ b/content/v2.0/reference/cli/influx/help/_index.md @@ -19,5 +19,3 @@ influx help [command] [flags] | Flag | | Description | |:---- |:--- |:----------- | | `-h` | `--help` | Help for the `help` command | - -{{% cli/influx-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/_index.md b/content/v2.0/reference/cli/influx/org/_index.md index 1fdaf28e4..dcdcf3ddd 100644 --- a/content/v2.0/reference/cli/influx/org/_index.md +++ b/content/v2.0/reference/cli/influx/org/_index.md @@ -33,5 +33,3 @@ influx org [command] | Flag | | Description | |:---- |:--- |:----------- | | `-h` | `--help` | Help for the `org` command | - -{{% cli/influx-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/create.md b/content/v2.0/reference/cli/influx/org/create.md index 29ef61db7..6c5a4e7ce 100644 --- a/content/v2.0/reference/cli/influx/org/create.md +++ b/content/v2.0/reference/cli/influx/org/create.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/org/delete.md b/content/v2.0/reference/cli/influx/org/delete.md index 4e9d3137d..a44b005d6 100644 --- a/content/v2.0/reference/cli/influx/org/delete.md +++ b/content/v2.0/reference/cli/influx/org/delete.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/org/list.md b/content/v2.0/reference/cli/influx/org/list.md index e65ad3a07..7ebd99301 100644 --- a/content/v2.0/reference/cli/influx/org/list.md +++ b/content/v2.0/reference/cli/influx/org/list.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/org/members/_index.md b/content/v2.0/reference/cli/influx/org/members/_index.md index 056d7fa8a..f2bb5d2f6 100644 --- a/content/v2.0/reference/cli/influx/org/members/_index.md +++ b/content/v2.0/reference/cli/influx/org/members/_index.md @@ -28,5 +28,3 @@ influx org members [command] | Flag | | Description | |:---- |:--- |:----------- | | `-h` | `--help` | Help for the `members` command | - -{{% cli/influx-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/members/add.md b/content/v2.0/reference/cli/influx/org/members/add.md index 833c7c6a6..8b95ed458 100644 --- a/content/v2.0/reference/cli/influx/org/members/add.md +++ b/content/v2.0/reference/cli/influx/org/members/add.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/org/members/list.md b/content/v2.0/reference/cli/influx/org/members/list.md index 49b91b055..e2decdb42 100644 --- a/content/v2.0/reference/cli/influx/org/members/list.md +++ b/content/v2.0/reference/cli/influx/org/members/list.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/org/members/remove.md b/content/v2.0/reference/cli/influx/org/members/remove.md index 8bb370cab..f3fb268a7 100644 --- a/content/v2.0/reference/cli/influx/org/members/remove.md +++ b/content/v2.0/reference/cli/influx/org/members/remove.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/org/update.md b/content/v2.0/reference/cli/influx/org/update.md index 336a6708d..a0b8fa5df 100644 --- a/content/v2.0/reference/cli/influx/org/update.md +++ b/content/v2.0/reference/cli/influx/org/update.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/ping/_index.md b/content/v2.0/reference/cli/influx/ping/_index.md index 5448c390e..a29878b8b 100644 --- a/content/v2.0/reference/cli/influx/ping/_index.md +++ b/content/v2.0/reference/cli/influx/ping/_index.md @@ -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 | | | diff --git a/content/v2.0/reference/cli/influx/query/_index.md b/content/v2.0/reference/cli/influx/query/_index.md index 3c81ff6ef..5ce2f799d 100644 --- a/content/v2.0/reference/cli/influx/query/_index.md +++ b/content/v2.0/reference/cli/influx/query/_index.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/repl/_index.md b/content/v2.0/reference/cli/influx/repl/_index.md index 9b7a1a791..8d7d3ae25 100644 --- a/content/v2.0/reference/cli/influx/repl/_index.md +++ b/content/v2.0/reference/cli/influx/repl/_index.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/secret/_index.md b/content/v2.0/reference/cli/influx/secret/_index.md index 2a5a59213..a2f5884b0 100644 --- a/content/v2.0/reference/cli/influx/secret/_index.md +++ b/content/v2.0/reference/cli/influx/secret/_index.md @@ -28,5 +28,3 @@ influx secret [subcommand] | Flag | | Description | |:---- |:--- |:----------- | | `-h` | `--help` | Help for the `secret` command | - -{{% cli/influx-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/secret/delete.md b/content/v2.0/reference/cli/influx/secret/delete.md index 84ea7e7d7..e661cca06 100644 --- a/content/v2.0/reference/cli/influx/secret/delete.md +++ b/content/v2.0/reference/cli/influx/secret/delete.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/secret/list.md b/content/v2.0/reference/cli/influx/secret/list.md index f4a0f07d5..d1e7f6652 100644 --- a/content/v2.0/reference/cli/influx/secret/list.md +++ b/content/v2.0/reference/cli/influx/secret/list.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/secret/update.md b/content/v2.0/reference/cli/influx/secret/update.md index 27314d338..f92ee9612 100644 --- a/content/v2.0/reference/cli/influx/secret/update.md +++ b/content/v2.0/reference/cli/influx/secret/update.md @@ -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 | | diff --git a/content/v2.0/reference/cli/influx/setup/_index.md b/content/v2.0/reference/cli/influx/setup/_index.md index 3eff0d54a..9597c08a9 100644 --- a/content/v2.0/reference/cli/influx/setup/_index.md +++ b/content/v2.0/reference/cli/influx/setup/_index.md @@ -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 | | diff --git a/content/v2.0/reference/cli/influx/stacks/_index.md b/content/v2.0/reference/cli/influx/stacks/_index.md index 6ae89090c..8058bfe51 100644 --- a/content/v2.0/reference/cli/influx/stacks/_index.md +++ b/content/v2.0/reference/cli/influx/stacks/_index.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/stacks/init.md b/content/v2.0/reference/cli/influx/stacks/init.md index 547e462bb..3b38ed4ae 100644 --- a/content/v2.0/reference/cli/influx/stacks/init.md +++ b/content/v2.0/reference/cli/influx/stacks/init.md @@ -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 diff --git a/content/v2.0/reference/cli/influx/stacks/remove.md b/content/v2.0/reference/cli/influx/stacks/remove.md index a339a55ce..6b34fa0b6 100644 --- a/content/v2.0/reference/cli/influx/stacks/remove.md +++ b/content/v2.0/reference/cli/influx/stacks/remove.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/stacks/update.md b/content/v2.0/reference/cli/influx/stacks/update.md index c48b8c3e0..d12c173a7 100644 --- a/content/v2.0/reference/cli/influx/stacks/update.md +++ b/content/v2.0/reference/cli/influx/stacks/update.md @@ -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 diff --git a/content/v2.0/reference/cli/influx/task/_index.md b/content/v2.0/reference/cli/influx/task/_index.md index 96209f542..423fbd69d 100644 --- a/content/v2.0/reference/cli/influx/task/_index.md +++ b/content/v2.0/reference/cli/influx/task/_index.md @@ -31,5 +31,3 @@ influx task [command] | Flag | | Description | |:---- |:--- |:----------- | | `-h` | `--help` | Help for the `task` command | - -{{% cli/influx-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/create.md b/content/v2.0/reference/cli/influx/task/create.md index 9958cf1e2..b75ace221 100644 --- a/content/v2.0/reference/cli/influx/task/create.md +++ b/content/v2.0/reference/cli/influx/task/create.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/task/delete.md b/content/v2.0/reference/cli/influx/task/delete.md index 2457769b0..0760078c6 100644 --- a/content/v2.0/reference/cli/influx/task/delete.md +++ b/content/v2.0/reference/cli/influx/task/delete.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/task/list.md b/content/v2.0/reference/cli/influx/task/list.md index 8fb8c18f6..e9d758b65 100644 --- a/content/v2.0/reference/cli/influx/task/list.md +++ b/content/v2.0/reference/cli/influx/task/list.md @@ -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 | | diff --git a/content/v2.0/reference/cli/influx/task/log/_index.md b/content/v2.0/reference/cli/influx/task/log/_index.md index 0b754e8d4..85167d8a8 100644 --- a/content/v2.0/reference/cli/influx/task/log/_index.md +++ b/content/v2.0/reference/cli/influx/task/log/_index.md @@ -26,5 +26,3 @@ influx task log [command] | Flag | | Description | |:---- |:--- |:----------- | | `-h` | `--help` | Help for the `log` command | - -{{% cli/influx-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/log/list.md b/content/v2.0/reference/cli/influx/task/log/list.md index ea1f5d918..22ded468c 100644 --- a/content/v2.0/reference/cli/influx/task/log/list.md +++ b/content/v2.0/reference/cli/influx/task/log/list.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/task/run/_index.md b/content/v2.0/reference/cli/influx/task/run/_index.md index 882964de6..eb015119b 100644 --- a/content/v2.0/reference/cli/influx/task/run/_index.md +++ b/content/v2.0/reference/cli/influx/task/run/_index.md @@ -28,5 +28,3 @@ influx task run [command] | Flag | | Description | |:---- |:--- |:----------- | | `-h` | `--help` | Help for the `run` command | - -{{% cli/influx-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/run/list.md b/content/v2.0/reference/cli/influx/task/run/list.md index eea1a4989..5a6bc5dc2 100644 --- a/content/v2.0/reference/cli/influx/task/run/list.md +++ b/content/v2.0/reference/cli/influx/task/run/list.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/task/run/retry.md b/content/v2.0/reference/cli/influx/task/run/retry.md index a30da3c59..fa159a0cf 100644 --- a/content/v2.0/reference/cli/influx/task/run/retry.md +++ b/content/v2.0/reference/cli/influx/task/run/retry.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/task/update.md b/content/v2.0/reference/cli/influx/task/update.md index 895c165b6..afe24800b 100644 --- a/content/v2.0/reference/cli/influx/task/update.md +++ b/content/v2.0/reference/cli/influx/task/update.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/template/_index.md b/content/v2.0/reference/cli/influx/template/_index.md index 64287b63c..5e9a36866 100644 --- a/content/v2.0/reference/cli/influx/template/_index.md +++ b/content/v2.0/reference/cli/influx/template/_index.md @@ -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 %}} diff --git a/content/v2.0/reference/cli/influx/template/validate.md b/content/v2.0/reference/cli/influx/template/validate.md index 15f9d48ab..862cb8051 100644 --- a/content/v2.0/reference/cli/influx/template/validate.md +++ b/content/v2.0/reference/cli/influx/template/validate.md @@ -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 %}} diff --git a/content/v2.0/reference/cli/influx/transpile/_index.md b/content/v2.0/reference/cli/influx/transpile/_index.md index fcb8f0444..91eb167d5 100644 --- a/content/v2.0/reference/cli/influx/transpile/_index.md +++ b/content/v2.0/reference/cli/influx/transpile/_index.md @@ -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 %}} diff --git a/content/v2.0/reference/cli/influx/user/_index.md b/content/v2.0/reference/cli/influx/user/_index.md index 9ea2f0b97..4782f2214 100644 --- a/content/v2.0/reference/cli/influx/user/_index.md +++ b/content/v2.0/reference/cli/influx/user/_index.md @@ -30,5 +30,3 @@ influx user [command] | Flag | | Description | |:---- |:--- |:----------- | | `-h` | `--help` | Help for the `user` command | - -{{% cli/influx-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/user/create.md b/content/v2.0/reference/cli/influx/user/create.md index 9771725bd..0fbdd4c34 100644 --- a/content/v2.0/reference/cli/influx/user/create.md +++ b/content/v2.0/reference/cli/influx/user/create.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/user/delete.md b/content/v2.0/reference/cli/influx/user/delete.md index 028ba3ac0..086b78e0e 100644 --- a/content/v2.0/reference/cli/influx/user/delete.md +++ b/content/v2.0/reference/cli/influx/user/delete.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/user/list.md b/content/v2.0/reference/cli/influx/user/list.md index 6a0f60069..0044ed47e 100644 --- a/content/v2.0/reference/cli/influx/user/list.md +++ b/content/v2.0/reference/cli/influx/user/list.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/user/password.md b/content/v2.0/reference/cli/influx/user/password.md index 2f7b5b99a..972604288 100644 --- a/content/v2.0/reference/cli/influx/user/password.md +++ b/content/v2.0/reference/cli/influx/user/password.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/user/update.md b/content/v2.0/reference/cli/influx/user/update.md index db89ce756..52ea7bd31 100644 --- a/content/v2.0/reference/cli/influx/user/update.md +++ b/content/v2.0/reference/cli/influx/user/update.md @@ -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` | diff --git a/content/v2.0/reference/cli/influx/write/_index.md b/content/v2.0/reference/cli/influx/write/_index.md index afe7aaf16..3433fc30a 100644 --- a/content/v2.0/reference/cli/influx/write/_index.md +++ b/content/v2.0/reference/cli/influx/write/_index.md @@ -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 | | diff --git a/content/v2.0/reference/cli/influx/write/dryrun.md b/content/v2.0/reference/cli/influx/write/dryrun.md index a022025d6..769a836ab 100644 --- a/content/v2.0/reference/cli/influx/write/dryrun.md +++ b/content/v2.0/reference/cli/influx/write/dryrun.md @@ -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 | | diff --git a/layouts/shortcodes/cli/influx-global-flags.md b/layouts/shortcodes/cli/influx-global-flags.md deleted file mode 100644 index 1d5288352..000000000 --- a/layouts/shortcodes/cli/influx-global-flags.md +++ /dev/null @@ -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 ? | -|:---- |:--- |:----------- |:----------:|:---------------------------------------------------- | -| | `--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` |