added all cli command doc pages
parent
1cd30efb1d
commit
e136da10c6
|
@ -1,11 +1,17 @@
|
|||
---
|
||||
title: Command line tools
|
||||
seotitle: Command line tools for managing InfluxDB
|
||||
description: InfluxDB comes with command line tools meant to aid in managing and working with InfluxDB.
|
||||
description: >
|
||||
InfluxDB provides command line tools designed to aid in managing and working
|
||||
with InfluxDB from the command line.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: Command line tools
|
||||
weight: 1
|
||||
---
|
||||
|
||||
_Placeholder for command line content._
|
||||
InfluxDB provides command line tools designed to aid in managing and working
|
||||
with InfluxDB from the command line.
|
||||
The following command line interfaces (CLIs) are available:
|
||||
|
||||
[influx](/v2.0/reference/cli/influx)
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
title: influx CLI
|
||||
seotitle: "'influx' command line client"
|
||||
description: placeholder
|
||||
description: >
|
||||
The 'influx' CLI includes commands to manage many aspects of InfluxDB,
|
||||
including buckets, organizations, users, tasks, etc.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx
|
||||
|
@ -9,7 +11,8 @@ menu:
|
|||
wieght: 1
|
||||
---
|
||||
|
||||
The `influx` command line interface (CLI).
|
||||
The `influx` CLI includes commands to manage many aspects of InfluxDB,
|
||||
including buckets, organizations, users, tasks, etc.
|
||||
|
||||
## Usage
|
||||
```
|
||||
|
@ -18,18 +21,18 @@ influx [command]
|
|||
```
|
||||
|
||||
## Commands
|
||||
| Command | Description |
|
||||
|:------- |:----------- |
|
||||
| [auth](/v2.0/reference/cli/influx/auth) | Authorization management commands |
|
||||
| [bucket](/v2.0/reference/cli/influx/bucket) | Bucket management commands |
|
||||
| [help](/v2.0/reference/cli/influx/help) | Help about any command |
|
||||
| [org](/v2.0/reference/cli/influx/org) | Organization management commands |
|
||||
| [query](/v2.0/reference/cli/influx/query) | Execute a Flux query |
|
||||
| [repl](/v2.0/reference/cli/influx/repl) | Interactive REPL (read-eval-print-loop) |
|
||||
| [setup](/v2.0/reference/cli/influx/setup) | Create default username, password, org, bucket... |
|
||||
| [task](/v2.0/reference/cli/influx/task) | Task management commands |
|
||||
| [user](/v2.0/reference/cli/influx/user) | User management commands |
|
||||
| [write](/v2.0/reference/cli/influx/write) | Write points to InfluxDB |
|
||||
| Command | Description |
|
||||
|:------- |:----------- |
|
||||
| [auth](/v2.0/reference/cli/influx/auth) | Authorization management commands |
|
||||
| [bucket](/v2.0/reference/cli/influx/bucket) | Bucket management commands |
|
||||
| [help](/v2.0/reference/cli/influx/help) | Help about any command |
|
||||
| [org](/v2.0/reference/cli/influx/org) | Organization management commands |
|
||||
| [query](/v2.0/reference/cli/influx/query) | Execute a Flux query |
|
||||
| [repl](/v2.0/reference/cli/influx/repl) | Interactive REPL (read-eval-print-loop) |
|
||||
| [setup](/v2.0/reference/cli/influx/setup) | Create default username, password, org, bucket, etc. |
|
||||
| [task](/v2.0/reference/cli/influx/task) | Task management commands |
|
||||
| [user](/v2.0/reference/cli/influx/user) | User management commands |
|
||||
| [write](/v2.0/reference/cli/influx/write) | Write points to InfluxDB |
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Influx authorization management commands
|
||||
description: placeholder
|
||||
title: influx auth – Authorization management commands
|
||||
description: The 'influx auth' command and its subcommands manage authorizations in InfluxDB.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx auth
|
||||
|
@ -8,7 +8,7 @@ menu:
|
|||
weight: 1
|
||||
---
|
||||
|
||||
Authorization management commands
|
||||
The `influx auth` command and its subcommands manage authorizations in InfluxDB.
|
||||
|
||||
## Usage
|
||||
```
|
||||
|
@ -20,18 +20,18 @@ influx auth [command]
|
|||
`auth`, `authorization`
|
||||
|
||||
## Subcommands
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| active | Active authorization |
|
||||
| create | Create authorization |
|
||||
| delete | Delete authorization |
|
||||
| find | Find authorization |
|
||||
| inactive | Inactive authorization |
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| [active](/v2.0/reference/cli/influx/auth/active) | Active authorization |
|
||||
| [create](/v2.0/reference/cli/influx/auth/create) | Create authorization |
|
||||
| [delete](/v2.0/reference/cli/influx/auth/delete) | Delete authorization |
|
||||
| [find](/v2.0/reference/cli/influx/auth/find) | Find authorization |
|
||||
| [inactive](/v2.0/reference/cli/influx/auth/inactive) | Inactive authorization |
|
||||
|
||||
## Flags
|
||||
| Flag | Description |
|
||||
|:---- |:----------- |
|
||||
| `-h`, `--help` | Help for the auth command |
|
||||
| Flag | Description |
|
||||
|:---- |:----------- |
|
||||
| `-h`, `--help` | Help for the `auth` command |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: influx auth active
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx auth active
|
||||
parent: influx auth
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Active authorization
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx auth active [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------:|
|
||||
| `-h`, `--help` | Help for the `active` command | |
|
||||
| `-i`, `--id` | The authorization ID **(Required)** | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,44 @@
|
|||
---
|
||||
title: influx auth create
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx auth create
|
||||
parent: influx auth
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Create authorization
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx auth create [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for the `create` command | |
|
||||
| `-o`, `--org` | The organization name **(Required)** | string |
|
||||
| `--read-bucket` | The bucket ID | stringArray |
|
||||
| `--read-buckets` | Grants the permission to perform read actions against organization buckets | |
|
||||
| `--read-dashboards` | Grants the permission to read dashboards | |
|
||||
| `--read-orgs` | Grants the permission to read organizations | |
|
||||
| `--read-tasks` | Grants the permission to read tasks | |
|
||||
| `--read-telegrafs` | Grants the permission to read telegraf configs | |
|
||||
| `--read-user` | Grants the permission to perform read actions against organization users | |
|
||||
| `-u`, `--user` | The user name | string |
|
||||
| `--write-bucket` | The bucket ID | stringArray |
|
||||
| `--write-buckets` | Grants the permission to perform mutative actions against organization buckets | |
|
||||
| `--write-dashboards` | Grants the permission to create dashboards | |
|
||||
| `--write-orgs` | Grants the permission to create organizations | |
|
||||
| `--write-tasks` | Grants the permission to create tasks | |
|
||||
| `--write-telegrafs` | Grants the permission to create telegraf configs | |
|
||||
| `--write-user` | Grants the permission to perform mutative actions against organization users | |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: influx auth delete
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx auth delete
|
||||
parent: influx auth
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Delete authorization
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx auth delete [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for the `delete` command | |
|
||||
| `-i`, `--id` | The authorization ID **(Required)** | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
title: influx auth find
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx auth find
|
||||
parent: influx auth
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Find authorization
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx auth find [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for the `find` command | |
|
||||
| `-i`, `--id` | The authorization ID | string |
|
||||
| `-u`, `--user` | The user | string |
|
||||
| `--user-id` | The user ID | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: influx auth inactive
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx auth inactive
|
||||
parent: influx auth
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Inactive authorization
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx auth inactive [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for the `inactive` command | |
|
||||
| `-i`, `--id` | The authorization ID **(Required)** | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Influx bucket management commands
|
||||
description: placeholder
|
||||
title: influx bucket – Bucket management commands
|
||||
description: The 'influx bucket' command and its subcommands manage buckets in InfluxDB.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx bucket
|
||||
|
@ -8,7 +8,7 @@ menu:
|
|||
weight: 1
|
||||
---
|
||||
|
||||
Bucket management commands
|
||||
The `influx bucket` command and its subcommands manage buckets in InfluxDB.
|
||||
|
||||
## Usage
|
||||
```
|
||||
|
@ -17,17 +17,17 @@ influx bucket [command]
|
|||
```
|
||||
|
||||
## Subcommands
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| create | Create bucket |
|
||||
| delete | Delete bucket |
|
||||
| find | Find buckets |
|
||||
| update | Update bucket |
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| [create](/v2.0/reference/cli/influx/bucket/create) | Create bucket |
|
||||
| [delete](/v2.0/reference/cli/influx/bucket/delete) | Delete bucket |
|
||||
| [find](/v2.0/reference/cli/influx/bucket/find) | Find buckets |
|
||||
| [update](/v2.0/reference/cli/influx/bucket/update) | Update bucket |
|
||||
|
||||
## Flags
|
||||
| Flag | Description |
|
||||
|:---- |:----------- |
|
||||
| `-h`, `--help` | Help for the bucket command |
|
||||
| Flag | Description |
|
||||
|:---- |:----------- |
|
||||
| `-h`, `--help` | Help for the `bucket` command |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
title: influx bucket create
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx bucket create
|
||||
parent: influx bucket
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Create bucket
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx bucket create [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for the `create` command | |
|
||||
| `-n`, `--name` | Name of bucket that will be created | string |
|
||||
| `-o`, `--org` | Name of the organization that owns the bucket | string |
|
||||
| `--org-id` | The ID of the organization that owns the bucket | string |
|
||||
| `-r`, `--retention` | Duration in nanoseconds data will live in bucket | duration |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: influx bucket delete
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx bucket delete
|
||||
parent: influx bucket
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Delete bucket
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx bucket delete [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for the `delete` command | |
|
||||
| `-i`, `--id` | The bucket ID **(Required)** | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
title: influx bucket find
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx bucket find
|
||||
parent: influx bucket
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Find buckets
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx bucket find [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for the `find` command | |
|
||||
| `-i`, `--id` | The bucket ID | string |
|
||||
| `-n`, `--name` | The bucket name | string |
|
||||
| `-o`, `--org` | The bucket organization name | string |
|
||||
| `--org-id` | The bucket organization ID | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
title: influx bucket update
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx bucket update
|
||||
parent: influx bucket
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Update bucket
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx bucket update [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for the `update` command | |
|
||||
| `-i`, `--id` | The bucket ID **(Required)** | string |
|
||||
| `-n`, `--name` | New bucket name | string |
|
||||
| `-r`, `--retention` | New duration data will live in bucket | duration |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Influx help command
|
||||
description: placeholder
|
||||
title: influx help – Help command for the influx CLI
|
||||
description: The 'influx help' command provides help for any command in the `influx` command line interface.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx help
|
||||
|
@ -8,8 +8,7 @@ menu:
|
|||
weight: 1
|
||||
---
|
||||
|
||||
Help provides help for any command in the application.
|
||||
Simply type influx help [path to command] for full details.
|
||||
The `influx help` command provides help for any command in the `influx` command line interface.
|
||||
|
||||
## Usage
|
||||
```
|
||||
|
@ -19,7 +18,7 @@ influx help [command] [flags]
|
|||
## Flags
|
||||
| Flag | Description |
|
||||
|:---- |:----------- |
|
||||
| `-h`, `--help` | help for help |
|
||||
| `-h`, `--help` | Help for help |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Influx organization management commands
|
||||
description: placeholder
|
||||
title: influx org – Organization management commands
|
||||
description: The 'influx org' command and its subcommands manage organization information in InfluxDB.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx org
|
||||
|
@ -8,7 +8,7 @@ menu:
|
|||
weight: 1
|
||||
---
|
||||
|
||||
Organization management commands
|
||||
The `influx org` command and its subcommands manage organization information in InfluxDB.
|
||||
|
||||
## Usage
|
||||
```
|
||||
|
@ -20,18 +20,18 @@ influx org [command]
|
|||
`org`, `organization`
|
||||
|
||||
## Subcommands
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| create | Create organization |
|
||||
| delete | Delete organization |
|
||||
| find | Find organizations |
|
||||
| members | Organization membership commands |
|
||||
| update | Update organization |
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| [create](/v2.0/reference/cli/influx/org/create) | Create organization |
|
||||
| [delete](/v2.0/reference/cli/influx/org/delete) | Delete organization |
|
||||
| [find](/v2.0/reference/cli/influx/org/find) | Find organizations |
|
||||
| [members](/v2.0/reference/cli/influx/org/members) | Organization membership commands |
|
||||
| [update](/v2.0/reference/cli/influx/org/update) | Update organization |
|
||||
|
||||
## Flags
|
||||
| Flag | Description |
|
||||
|:---- |:----------- |
|
||||
| `-h`, `--help` | Help for the org command |
|
||||
| Flag | Description |
|
||||
|:---- |:----------- |
|
||||
| `-h`, `--help` | Help for the `org` command |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: influx org create
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx org create
|
||||
parent: influx org
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Create organization
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx org create [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `create` | |
|
||||
| `-n`, `--name` | The name of organization that will be created | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: influx org delete
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx org delete
|
||||
parent: influx org
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Delete organization
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx org delete [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `delete` | |
|
||||
| `-i`, `--id` | The organization ID **(Required)** | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: influx org find
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx org find
|
||||
parent: influx org
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Find organizations
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx org find [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `find` | |
|
||||
| `-i`, `--id` | The organization ID | string |
|
||||
| `-n`, `--name` | The organization name | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
title: influx org members - Organization membership management commands
|
||||
description: The 'influx org members' command and its subcommands manage organization members in InfluxDB.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx org members
|
||||
parent: influx org
|
||||
weight: 1
|
||||
---
|
||||
|
||||
The `influx org members` command and its subcommands manage organization members in InfluxDB.
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx org members [flags]
|
||||
influx org members [command]
|
||||
```
|
||||
|
||||
## Subcommands
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| add | Add organization member |
|
||||
| list | List organization members |
|
||||
| remove | Remove organization member |
|
||||
|
||||
## Flags
|
||||
| Flag | Description |
|
||||
|:---- |:----------- |
|
||||
| `-h`, `--help` | Help for `members` |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
title: influx org members add
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx org members add
|
||||
parent: influx org members
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Add organization member
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx org members add [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `add` | |
|
||||
| `-i`, `--id` | The organization ID | string |
|
||||
| `-o`, `--member` | The member ID | string |
|
||||
| `-n`, `--name` | The organization name | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: influx org members list
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx org members list
|
||||
parent: influx org members
|
||||
weight: 1
|
||||
---
|
||||
|
||||
List organization members
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx org members list [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `list` | |
|
||||
| `-i`, `--id` | The organization ID | string |
|
||||
| `-n`, `--name` | The organization name | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
title: influx org members remove
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx org members remove
|
||||
parent: influx org members
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Remove organization member
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx org members remove [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `remove` | |
|
||||
| `-i`, `--id` | The organization ID | string |
|
||||
| `-o`, `--member` | The member ID | string |
|
||||
| `-n`, `--name` | The organization name | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: influx org update
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx org update
|
||||
parent: influx org
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Update organization
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx org update [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `update` | |
|
||||
| `-i`, `--id` | The organization ID **(Required)** | string |
|
||||
| `-n`, `--name` | The organization name | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Influx query command
|
||||
description: placeholder
|
||||
title: influx query – Execute queries from the influx CLI
|
||||
description: >
|
||||
The 'influx query' command executes a literal Flux query provided as a string
|
||||
or a literal Flux query contained in a file by specifying the file prefixed with an '@' sign.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx query
|
||||
|
@ -8,8 +10,8 @@ menu:
|
|||
weight: 1
|
||||
---
|
||||
|
||||
Execute a literal Flux query provided as a string,
|
||||
or execute a literal Flux query contained in a file by specifying the file prefixed with an @ sign.
|
||||
The `influx query` command executes a literal Flux query provided as a string
|
||||
or a literal Flux query contained in a file by specifying the file prefixed with an `@` sign.
|
||||
|
||||
## Usage
|
||||
```
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Influx repl command
|
||||
description: placeholder
|
||||
title: influx repl – Enter an interactive REPL
|
||||
description: >
|
||||
The 'influx repl' command opens and interactive read-eval-print-loop (REPL)
|
||||
from which you can run Flux commands.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx repl
|
||||
|
@ -8,7 +10,8 @@ menu:
|
|||
weight: 1
|
||||
---
|
||||
|
||||
Interactive REPL (read-eval-print-loop)
|
||||
The `influx repl` command opens and interactive read-eval-print-loop (REPL)
|
||||
from which you can run Flux commands.
|
||||
|
||||
## Usage
|
||||
```
|
||||
|
@ -18,7 +21,7 @@ influx repl [flags]
|
|||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------:|
|
||||
| `-h`, `--help` | Help for the repl command | |
|
||||
| `-h`, `--help` | Help for the `repl` command | |
|
||||
| `-o`, `--org` | The name of the organization | string |
|
||||
| `--org-id` | The ID of organization to query | string |
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Influx setup command
|
||||
description: placeholder
|
||||
title: influx setup – Run the initial Influx DB setup
|
||||
description: >
|
||||
The 'influx setup' command walks through the initial InfluxDB setup process,
|
||||
creating a default user, organization, and bucket.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx setup
|
||||
|
@ -8,7 +10,8 @@ menu:
|
|||
weight: 1
|
||||
---
|
||||
|
||||
Create default username, password, org, bucket...
|
||||
The `influx setup` command walks through the initial InfluxDB setup process,
|
||||
creating a default user, organization, and bucket.
|
||||
|
||||
## Usage
|
||||
```
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Influx task management commands
|
||||
description: placeholder
|
||||
title: influx task – Task management commands
|
||||
description: The 'influx task' command and its subcommands manage tasks in InfluxDB.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx task
|
||||
|
@ -8,7 +8,7 @@ menu:
|
|||
weight: 1
|
||||
---
|
||||
|
||||
Task management commands
|
||||
The `influx task` command and its subcommands manage tasks in InfluxDB.
|
||||
|
||||
### Usage
|
||||
```
|
||||
|
@ -17,15 +17,15 @@ influx task [command]
|
|||
```
|
||||
|
||||
### Subcommands
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| create | Create task |
|
||||
| delete | Delete task |
|
||||
| find | Find tasks |
|
||||
| log | Log related commands |
|
||||
| retry | retry a run |
|
||||
| run | Run related commands |
|
||||
| update | Update task |
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| [create](/v2.0/reference/cli/influx/task/create) | Create task |
|
||||
| [delete](/v2.0/reference/cli/influx/task/delete) | Delete task |
|
||||
| [find](/v2.0/reference/cli/influx/task/find) | Find tasks |
|
||||
| [log](/v2.0/reference/cli/influx/task/log) | Log related commands |
|
||||
| [retry](/v2.0/reference/cli/influx/task/retry) | retry a run |
|
||||
| [run](/v2.0/reference/cli/influx/task/run) | Run related commands |
|
||||
| [update](/v2.0/reference/cli/influx/task/update) | Update task |
|
||||
|
||||
### Flags
|
||||
| Flag | Description |
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: influx task create
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx task create
|
||||
parent: influx task
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Create task
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx task create [query literal or @/path/to/query.flux] [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `create` | |
|
||||
| `--org` | Organization name | string |
|
||||
| `--org-id` | ID of the organization that owns the task | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: influx task delete
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx task delete
|
||||
parent: influx task
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Delete task
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx task delete [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `delete` | |
|
||||
| `-i`, `--id` | Task id **(Required)** | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
title: influx task find
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx task find
|
||||
parent: influx task
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Find tasks
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx task find [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `find` | |
|
||||
| `-i`, `--id` | Task ID | string |
|
||||
| `--limit` | The number of tasks to find (default `100`) | integer |
|
||||
| `--org-id` | Task organization ID | string |
|
||||
| `-n`, `--user-id` | Task owner ID | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
title: influx task log
|
||||
description: The 'influx task log' and its subcommand 'find' output log information related related to a task.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx task log
|
||||
parent: influx task
|
||||
weight: 1
|
||||
---
|
||||
|
||||
The `influx task log` command and its subcommand `find` output log information related to a task.
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx task log [flags]
|
||||
influx task log [command]
|
||||
```
|
||||
|
||||
## Subcommands
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| find | Find logs for task |
|
||||
|
||||
## Flags
|
||||
| Flag | Description |
|
||||
|:---- |:----------- |
|
||||
| `-h`, `--help` | Help for `log` |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
title: influx task log find
|
||||
description: The 'influx task log find' command outputs log information related to a task.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx task log find
|
||||
parent: influx task log
|
||||
weight: 1
|
||||
---
|
||||
|
||||
The `influx task log find` command outputs log information related to a task.
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx task log find [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `find` | |
|
||||
| `--org-id` | Organization ID | string |
|
||||
| `--run-id` | Run ID | string |
|
||||
| `--task-id` | Task ID **(Required)** | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: influx task retry
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx task retry
|
||||
parent: influx task
|
||||
weight: 1
|
||||
---
|
||||
|
||||
retry a run
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx task retry [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `retry` | |
|
||||
| `-r`, `--run-id` | Run id **(Required)** | string |
|
||||
| `-i`, `--task-id` | Task id **(Required)** | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
title: influx task run
|
||||
description: >
|
||||
The 'influx task run' command and its subcommand 'find' output information
|
||||
related to runs of a task.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx task run
|
||||
parent: influx task
|
||||
weight: 1
|
||||
---
|
||||
|
||||
The `influx task run` command and its subcommand `find` output information related to runs of a task.
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx task run [flags]
|
||||
influx task run [command]
|
||||
```
|
||||
|
||||
## Subcommands
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| find | Find runs for a task |
|
||||
|
||||
## Flags
|
||||
| Flag | Description |
|
||||
|:---- |:----------- |
|
||||
| `-h`, `--help` | Help for `run` |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
title: influx task run find
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx task run find
|
||||
parent: influx task run
|
||||
weight: 1
|
||||
---
|
||||
|
||||
The `influx task run find` command outputs information related runs of a task.
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx task run find [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `--after` | After-time for filtering | string |
|
||||
| `--before` | Before-time for filtering | string |
|
||||
| `-h`,`--help` | Help for `find` | |
|
||||
| `--limit` | Limit the number of results | integer |
|
||||
| `--org-id` | Organization ID | string |
|
||||
| `--run-id` | Run ID | string |
|
||||
| `--task-id` | Task ID **(Required)** | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: influx task update
|
||||
description: placeholder
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx task update
|
||||
parent: influx task
|
||||
weight: 1
|
||||
---
|
||||
|
||||
Update task
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx task update [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `update` | |
|
||||
| `-i`, `--id` | Task ID **(Required)** | string |
|
||||
| `--status` | Update task status | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Influx user management commands
|
||||
description: placeholder
|
||||
title: influx user – User management commands
|
||||
description: The 'influx user' command and its subcommands manage user information in InfluxDB.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx user
|
||||
|
@ -8,7 +8,7 @@ menu:
|
|||
weight: 1
|
||||
---
|
||||
|
||||
User management commands
|
||||
The `influx user` command and its subcommands manage user information in InfluxDB.
|
||||
|
||||
## Usage
|
||||
```
|
||||
|
@ -17,12 +17,12 @@ influx user [command]
|
|||
```
|
||||
|
||||
## Subcommands
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| create | Create user |
|
||||
| delete | Delete user |
|
||||
| find | Find user |
|
||||
| update | Update user |
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| [create](/v2.0/reference/cli/influx/user/create) | Create user |
|
||||
| [delete](/v2.0/reference/cli/influx/user/delete) | Delete user |
|
||||
| [find](/v2.0/reference/cli/influx/user/find) | Find user |
|
||||
| [update](/v2.0/reference/cli/influx/user/update) | Update user |
|
||||
|
||||
## Flags
|
||||
| Flag | Description |
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: influx user create
|
||||
description: The 'influx user create' command creates a user in InfluxDB.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx user create
|
||||
parent: influx user
|
||||
weight: 1
|
||||
---
|
||||
|
||||
The `influx user create` command creates a user in InfluxDB.
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx user create [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `create` | |
|
||||
| `-n`, `--name` | The user name **(Required)** | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: influx user delete
|
||||
description: The 'influx user delete' command deletes a specified user.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx user delete
|
||||
parent: influx user
|
||||
weight: 1
|
||||
---
|
||||
|
||||
The `influx user delete` command deletes a specified user.
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx user delete [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `delete` | |
|
||||
| `-i`, `--id` | The user ID **(Required)** | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: influx user find
|
||||
description: The 'influx user find' lists and searches for users in InfluxDB.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx user find
|
||||
parent: influx user
|
||||
weight: 1
|
||||
---
|
||||
|
||||
The `influx user find` command lists and searches for users in InfluxDB.
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx user find [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `find` | |
|
||||
| `-i`, `--id` | The user ID | string |
|
||||
| `-n`, `--name` | The user name | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
title: influx user update
|
||||
description: >
|
||||
The 'influx user update' command updates information related to a user such as their user name.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx user update
|
||||
parent: influx user
|
||||
weight: 1
|
||||
---
|
||||
|
||||
The `influx user update` command updates information related to a user such as their user name.
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx user update [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `update` | |
|
||||
| `-i`, `--id` | The user ID **(Required)** | string |
|
||||
| `-n`, `--name` | The user name | string |
|
||||
|
||||
## Global Flags
|
||||
| Global flag | Description | Input type |
|
||||
|:----------- |:----------- |:----------:|
|
||||
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
|
||||
| `--local` | Run commands locally against the filesystem | |
|
||||
| `-t`, `--token` | API token to be used throughout client calls | string |
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Influx write command
|
||||
description: placeholder
|
||||
title: influx write – Write data to InfluxDB using the CLI
|
||||
description: >
|
||||
The 'influx write' command writes line protocol to InfluxDB either via a single
|
||||
line of line protocol, or a via a file containing line protocol.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx write
|
||||
|
@ -8,8 +10,8 @@ menu:
|
|||
weight: 1
|
||||
---
|
||||
|
||||
Write a single line of line protocol to InfluxDB,
|
||||
or add an entire file specified with an @ prefix.
|
||||
The `influx write` writes a single line of line protocol to InfluxDB,
|
||||
or adds an entire file specified with an `@` prefix.
|
||||
|
||||
## Usage
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue