Merge pull request #754 from influxdata/cli/find-to-list

CLI update 'find' to 'list'
pull/801/head
Scott Anderson 2020-03-04 16:49:11 -07:00 committed by GitHub
commit b36e8a41e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
43 changed files with 157 additions and 118 deletions

View File

@ -27,7 +27,7 @@ to delete a bucket.
Use the [`influx bucket delete` command](/v2.0/reference/cli/influx/bucket/delete) Use the [`influx bucket delete` command](/v2.0/reference/cli/influx/bucket/delete)
to delete a bucket. Deleting a bucket requires the following: to delete a bucket. Deleting a bucket requires the following:
- The bucket ID _(provided in the output of `influx bucket find`)_ - The bucket ID _(provided in the output of `influx bucket list`)_
- The name or ID of the organization to which the bucket belongs - The name or ID of the organization to which the bucket belongs
```sh ```sh

View File

@ -49,7 +49,7 @@ If you change a bucket name, be sure to update the bucket in the above places as
Use the [`influx bucket update` command](/v2.0/reference/cli/influx/bucket/update) Use the [`influx bucket update` command](/v2.0/reference/cli/influx/bucket/update)
to update a bucket. Updating a bucket requires the following: to update a bucket. Updating a bucket requires the following:
- The bucket ID _(provided in the output of `influx bucket find`)_ - The bucket ID _(provided in the output of `influx bucket list`)_
- The name or ID of the organization the bucket belongs to. - The name or ID of the organization the bucket belongs to.
##### Update the name of a bucket ##### Update the name of a bucket

View File

@ -20,13 +20,13 @@ weight: 202
## View buckets using the influx CLI ## View buckets using the influx CLI
Use the [`influx bucket find` command](/v2.0/reference/cli/influx/bucket/find) Use the [`influx bucket list` command](/v2.0/reference/cli/influx/bucket/list)
to view a buckets in an organization. to view a buckets in an organization.
```sh ```sh
influx bucket find influx bucket list
``` ```
Other filtering options such as filtering by organization, name, or ID are available. Other filtering options such as filtering by organization, name, or ID are available.
See the [`influx bucket find` documentation](/v2.0/reference/cli/influx/bucket/find) See the [`influx bucket list` documentation](/v2.0/reference/cli/influx/bucket/list)
for information about other available flags. for information about other available flags.

View File

@ -29,7 +29,7 @@ to delete an organization.
Use the [`influx org delete` command](/v2.0/reference/cli/influx/org/delete) Use the [`influx org delete` command](/v2.0/reference/cli/influx/org/delete)
to delete an organization. Deleting an organization requires the following: to delete an organization. Deleting an organization requires the following:
- The organization ID _(provided in the output of `influx org find`)_ - The organization ID _(provided in the output of `influx org list`)_
```sh ```sh
# Syntax # Syntax

View File

@ -30,7 +30,7 @@ _Complete content coming soon_ -->
1. Get a list of users and their IDs by running the following: 1. Get a list of users and their IDs by running the following:
```sh ```sh
influx user find influx user list
``` ```
2. To add a user to an organization, run the following command: 2. To add a user to an organization, run the following command:

View File

@ -33,7 +33,7 @@ For information about deleting a user from InfluxDB, see [Delete a user](/v2.0/u
Use the [`influx org members remove` command](/v2.0/reference/cli/influx/org/members/remove) Use the [`influx org members remove` command](/v2.0/reference/cli/influx/org/members/remove)
to remove a member from an organization. Removing a member requires the following: to remove a member from an organization. Removing a member requires the following:
- The organization name or ID _(provided in the output of [`influx org find`](/v2.0/reference/cli/influx/org/find/))_ - The organization name or ID _(provided in the output of [`influx org list`](/v2.0/reference/cli/influx/org/list/))_
- The member ID _(provided in the output of [`influx org members list`](/v2.0/reference/cli/influx/org/members/list/))_ - The member ID _(provided in the output of [`influx org members list`](/v2.0/reference/cli/influx/org/members/list/))_
```sh ```sh

View File

@ -38,7 +38,7 @@ If you change an organization name, be sure to update the organization in the ab
Use the [`influx org update` command](/v2.0/reference/cli/influx/org/update) Use the [`influx org update` command](/v2.0/reference/cli/influx/org/update)
to update an organization. Updating an organization requires the following: to update an organization. Updating an organization requires the following:
- The org ID _(provided in the output of `influx org find`)_ - The org ID _(provided in the output of `influx org list`)_
##### Update the name of a organization ##### Update the name of a organization
```sh ```sh

View File

@ -23,15 +23,15 @@ to view organizations.
## View organizations using the influx CLI ## View organizations using the influx CLI
Use the [`influx org find` command](/v2.0/reference/cli/influx/org/find) Use the [`influx org list` command](/v2.0/reference/cli/influx/org/list)
to view organizations. to view organizations.
```sh ```sh
influx org find influx org list
``` ```
Filtering options such as filtering by name or ID are available. Filtering options such as filtering by name or ID are available.
See the [`influx org find` documentation](/v2.0/reference/cli/influx/org/find) See the [`influx org list` documentation](/v2.0/reference/cli/influx/org/list)
for information about other available flags. for information about other available flags.
## View your organization ID ## View your organization ID
@ -46,10 +46,10 @@ http://localhost:9999/orgs/<span class="bp" style="font-weight:bold;margin:0 .15
### Organization ID in the CLI ### Organization ID in the CLI
Use [`influx org find`](#view-organizations-using-the-influx-cli) to view your organization ID. Use [`influx org list`](#view-organizations-using-the-influx-cli) to view your organization ID.
```sh ```sh
> influx org find > influx org list
ID Name ID Name
03a2bbf46249a000 org-1 03a2bbf46249a000 org-1

View File

@ -25,7 +25,7 @@ related:
## Delete a task with the influx CLI ## Delete a task with the influx CLI
Use the `influx task delete` command to delete a task. Use the `influx task delete` command to delete a task.
_This command requires a task ID, which is available in the output of `influx task find`._ _This command requires a task ID, which is available in the output of `influx task list`._
```sh ```sh
# Syntax # Syntax

View File

@ -34,10 +34,10 @@ To run a task from the `influx` CLI, the task must have already run at least onc
```sh ```sh
# List all tasks to find the ID of the task to run # List all tasks to find the ID of the task to run
influx task find influx task list
# Use the task ID to list previous runs of the task # Use the task ID to list previous runs of the task
influx task run find --task-id=0000000000000000 influx task run list --task-id=0000000000000000
# Use the task ID and run ID to retry a run # Use the task ID and run ID to retry a run
influx task run retry --task-id=0000000000000000 --run-id=0000000000000000 influx task run retry --task-id=0000000000000000 --run-id=0000000000000000

View File

@ -31,14 +31,14 @@ to view task run histories and associated logs.
To view logs associated with a run, click **View Logs** next to the run in the task's run history. To view logs associated with a run, click **View Logs** next to the run in the task's run history.
## View a task's run history with the influx CLI ## View a task's run history with the influx CLI
Use the `influx task run find` command to view a task's run history. Use the `influx task run list` command to view a task's run history.
```sh ```sh
# List all tasks to find the ID of the task to run # List all tasks to find the ID of the task to run
influx task find influx task list
# Use the task ID to view the run history of a task # Use the task ID to view the run history of a task
influx task run find --task-id=0000000000000000 influx task run list --task-id=0000000000000000
``` ```
{{% note %}} {{% note %}}

View File

@ -38,7 +38,7 @@ task you want to activate or inactivate.
## Update a task with the influx CLI ## Update a task with the influx CLI
Use the `influx task update` command to update or change the status of an existing task. Use the `influx task update` command to update or change the status of an existing task.
_This command requires a task ID, which is available in the output of `influx task find`._ _This command requires a task ID, which is available in the output of `influx task list`._
#### Update a task Flux script #### Update a task Flux script
Pass the file path of your updated Flux script to the `influx task update` command Pass the file path of your updated Flux script to the `influx task update` command

View File

@ -9,7 +9,7 @@ menu:
parent: Manage tasks parent: Manage tasks
weight: 202 weight: 202
related: related:
- /v2.0/reference/cli/influx/task/find - /v2.0/reference/cli/influx/task/list
--- ---
## View tasks in the InfluxDB UI ## View tasks in the InfluxDB UI
@ -25,14 +25,14 @@ Click the **Tasks** icon in the left navigation to view the lists of tasks.
3. Click on the heading of any column to sort by that field. 3. Click on the heading of any column to sort by that field.
## View tasks with the influx CLI ## View tasks with the influx CLI
Use the `influx task find` command to return a list of created tasks. Use the `influx task list` command to return a list of created tasks.
```sh ```sh
influx task find influx task list
``` ```
#### Filter tasks using the CLI #### Filter tasks using the CLI
Other filtering options such as filtering by organization or user, Other filtering options such as filtering by organization or user,
or limiting the number of tasks returned, are available. or limiting the number of tasks returned, are available.
See the [`influx task find` documentation](/v2.0/reference/cli/influx/task/find) See the [`influx task list` documentation](/v2.0/reference/cli/influx/task/list)
for information about other available flags. for information about other available flags.

View File

@ -14,7 +14,7 @@ Flux helps you monitor states in your metrics and events:
- [Find how long a state persists](#find-how-long-a-state-persists) - [Find how long a state persists](#find-how-long-a-state-persists)
- [Count the number of consecutive states](#count-the-number-of-consecutive-states) - [Count the number of consecutive states](#count-the-number-of-consecutive-states)
- [Detect state changes](#detect-state-changes) <!-- - [Detect state changes](#detect-state-changes) -->
If you're just getting started with Flux queries, check out the following: If you're just getting started with Flux queries, check out the following:
@ -24,7 +24,7 @@ If you're just getting started with Flux queries, check out the following:
## Find how long a state persists ## Find how long a state persists
1. Use the [`stateDuration()`](/v2.0/reference/flux/stdlib/built-in/transformations/stateduration/) function to calculate how long a column value has remained the same value (or state). Include the following information: 1. Use the [`stateDuration()`](/v2.0/reference/flux/stdlib/built-in/transformations/stateduration/) function to calculate how long a column value has remained the same value (or state). Include the following information:
- **Column to search:** any tag key, tag value, field key, field value, or measurement. - **Column to search:** any tag key, tag value, field key, field value, or measurement.
- **Value:** the value (or state) to search for in the specified column. - **Value:** the value (or state) to search for in the specified column.
- **State duration column:** a new column to store the state duration─the length of time that the specified value persists. - **State duration column:** a new column to store the state duration─the length of time that the specified value persists.
@ -83,7 +83,7 @@ _time _value door_closed
```js ```js
|> stateCount |> stateCount
(fn: (r) => (fn: (r) =>
r._column_to_search == "value_to_search_for", r._column_to_search == "value_to_search_for",
column: "state_count"` column: "state_count"`
) )
@ -148,9 +148,9 @@ Detect state changes with the `monitor.stateChanges()` function. To use the `mon
{{< nav-icon "alerts" >}} {{< nav-icon "alerts" >}}
2. If you haven't already, [create a check](/v2.0/monitor-alert/checks/create/) that stores statuses (`CRIT`, `WARN`, `INFO`, `OK` or `ANY`) in the `_level` column. <!-- specify how to do this with monitor.check() function or in UI, with check threshold or deadman? 2. If you haven't already, [create a check](/v2.0/monitor-alert/checks/create/) that stores statuses (`CRIT`, `WARN`, `INFO`, `OK` or `ANY`) in the `_level` column. <!-- specify how to do this with monitor.check() function or in UI, with check threshold or deadman?
3. Import the InfluxDB `monitor` package. 3. Import the InfluxDB `monitor` package.
4. In your query, the specify the check. <!--can users specify a Flux query with the `monitoring` bucket and _level field without specifying the check? does importing the monitor package create the `monitoring` bucket? 4. In your query, the specify the check. <!--can users specify a Flux query with the `monitoring` bucket and _level field without specifying the check? does importing the monitor package create the `monitoring` bucket?
5. Use the `monitor.stateChanges()` function and include the following information: 5. Use the `monitor.stateChanges()` function and include the following information:
- `fromLevel` (optional; by default, this is set to `any`) - `fromLevel` (optional; by default, this is set to `any`)

View File

@ -26,7 +26,7 @@ influx auth [command]
| [active](/v2.0/reference/cli/influx/auth/active) | Activate authorization | | [active](/v2.0/reference/cli/influx/auth/active) | Activate authorization |
| [create](/v2.0/reference/cli/influx/auth/create) | Create authorization | | [create](/v2.0/reference/cli/influx/auth/create) | Create authorization |
| [delete](/v2.0/reference/cli/influx/auth/delete) | Delete authorization | | [delete](/v2.0/reference/cli/influx/auth/delete) | Delete authorization |
| [find](/v2.0/reference/cli/influx/auth/find) | Find authorization | | [list](/v2.0/reference/cli/influx/auth/list) | List authorizations |
| [inactive](/v2.0/reference/cli/influx/auth/inactive) | Inactivate authorization | | [inactive](/v2.0/reference/cli/influx/auth/inactive) | Inactivate authorization |
## Flags ## Flags

View File

@ -1,24 +1,29 @@
--- ---
title: influx auth find title: influx auth list
description: The 'influx auth find' command lists and searches authorizations in InfluxDB. description: The 'influx auth list' command lists and searches authorizations in InfluxDB.
menu: menu:
v2_0_ref: v2_0_ref:
name: influx auth find name: influx auth list
parent: influx auth parent: influx auth
weight: 201 weight: 201
aliases:
- /v2.0/reference/cli/influx/auth/find
--- ---
The `influx auth find` command lists and searches authorizations in InfluxDB. The `influx auth list` command lists and searches authorizations in InfluxDB.
## Usage ## Usage
``` ```
influx auth find [flags] influx auth list [flags]
``` ```
#### Aliases
`list`, `ls`, `find`
## Flags ## Flags
| Flag | Description | Input type | | Flag | Description | Input type |
|:---- |:----------- |:----------: | |:---- |:----------- |:----------: |
| `-h`, `--help` | Help for the `find` command | | | `-h`, `--help` | Help for the `list` command | |
| `-i`, `--id` | Authorization ID | string | | `-i`, `--id` | Authorization ID | string |
| `-o`, `--org` | Organization name | string | | `-o`, `--org` | Organization name | string |
| `--org-id` | Organization ID | string | | `--org-id` | Organization ID | string |

View File

@ -22,7 +22,7 @@ influx bucket [command]
|:---------- |:----------- | |:---------- |:----------- |
| [create](/v2.0/reference/cli/influx/bucket/create) | Create bucket | | [create](/v2.0/reference/cli/influx/bucket/create) | Create bucket |
| [delete](/v2.0/reference/cli/influx/bucket/delete) | Delete bucket | | [delete](/v2.0/reference/cli/influx/bucket/delete) | Delete bucket |
| [find](/v2.0/reference/cli/influx/bucket/find) | Find buckets | | [list](/v2.0/reference/cli/influx/bucket/find) | List buckets |
| [update](/v2.0/reference/cli/influx/bucket/update) | Update bucket | | [update](/v2.0/reference/cli/influx/bucket/update) | Update bucket |
## Flags ## Flags

View File

@ -1,24 +1,29 @@
--- ---
title: influx bucket find title: influx bucket list
description: The 'influx bucket find' command lists and searches for buckets in InfluxDB. description: The 'influx bucket list' command lists and searches for buckets in InfluxDB.
menu: menu:
v2_0_ref: v2_0_ref:
name: influx bucket find name: influx bucket list
parent: influx bucket parent: influx bucket
weight: 201 weight: 201
aliases:
- /v2.0/reference/cli/influx/bucket/find
--- ---
The `influx bucket find` command lists and searches for buckets in InfluxDB. The `influx bucket list` command lists and searches for buckets in InfluxDB.
## Usage ## Usage
``` ```
influx bucket find [flags] influx bucket list [flags]
``` ```
#### Aliases
`list`, `ls`, `find`
## Flags ## Flags
| Flag | Description | Input type | {{< cli/mapped >}} | | Flag | Description | Input type | {{< cli/mapped >}} |
|:---- |:----------- |:----------: |:------------------ | |:---- |:----------- |:----------: |:------------------ |
| `-h`, `--help` | Help for the `find` command | | | | `-h`, `--help` | Help for the `list` command | | |
| `-i`, `--id` | Bucket ID | string | | | `-i`, `--id` | Bucket ID | string | |
| `-n`, `--name` | Bucket name | string | `INFLUX_BUCKET_NAME` | | `-n`, `--name` | Bucket name | string | `INFLUX_BUCKET_NAME` |
| `-o`, `--org` | Organization name | string | `INFLUX_ORG` | | `-o`, `--org` | Organization name | string | `INFLUX_ORG` |

View File

@ -25,7 +25,7 @@ influx org [command]
|:---------- |:----------- | |:---------- |:----------- |
| [create](/v2.0/reference/cli/influx/org/create) | Create an organization | | [create](/v2.0/reference/cli/influx/org/create) | Create an organization |
| [delete](/v2.0/reference/cli/influx/org/delete) | Delete an organization | | [delete](/v2.0/reference/cli/influx/org/delete) | Delete an organization |
| [find](/v2.0/reference/cli/influx/org/find) | Find organizations | | [list](/v2.0/reference/cli/influx/org/list) | List organizations |
| [members](/v2.0/reference/cli/influx/org/members) | Organization membership commands | | [members](/v2.0/reference/cli/influx/org/members) | Organization membership commands |
| [update](/v2.0/reference/cli/influx/org/update) | Update an organization | | [update](/v2.0/reference/cli/influx/org/update) | Update an organization |

View File

@ -1,24 +1,29 @@
--- ---
title: influx org find title: influx org list
description: The 'influx org find' lists and searches for organizations in InfluxDB. description: The 'influx org list' lists and searches for organizations in InfluxDB.
menu: menu:
v2_0_ref: v2_0_ref:
name: influx org find name: influx org list
parent: influx org parent: influx org
weight: 201 weight: 201
aliases:
- /v2.0/reference/influx/org/find
--- ---
The `influx org find` lists and searches for organizations in InfluxDB. The `influx org list` lists and searches for organizations in InfluxDB.
## Usage ## Usage
``` ```
influx org find [flags] influx org list [flags]
``` ```
#### Aliases
`list`, `ls`, `find`
## Flags ## Flags
| Flag | Description | Input type | {{< cli/mapped >}} | | Flag | Description | Input type | {{< cli/mapped >}} |
|:---- |:----------- |:----------: |:------------------ | |:---- |:----------- |:----------: |:------------------ |
| `-h`, `--help` | Help for the `find` command | | | | `-h`, `--help` | Help for the `list` command | | |
| `-i`, `--id` | Organization ID | string | `INFLUX_ORG` | | `-i`, `--id` | Organization ID | string | `INFLUX_ORG` |
| `-n`, `--name` | Organization name | string | `INFLUX_ORG_ID` | | `-n`, `--name` | Organization name | string | `INFLUX_ORG_ID` |

View File

@ -21,7 +21,7 @@ influx secret [subcommand]
| Subcommand | Description | | Subcommand | Description |
|:---------- |:----------- | |:---------- |:----------- |
| [delete](/v2.0/reference/cli/influx/secret/delete/) | Delete a secret | | [delete](/v2.0/reference/cli/influx/secret/delete/) | Delete a secret |
| [find](/v2.0/reference/cli/influx/secret/find/) | Find secrets | | [list](/v2.0/reference/cli/influx/secret/list/) | List secrets |
| [update](/v2.0/reference/cli/influx/secret/update/) | Add or update a secret | | [update](/v2.0/reference/cli/influx/secret/update/) | Add or update a secret |
## Flags ## Flags

View File

@ -1,25 +1,28 @@
--- ---
title: influx secret find title: influx secret list
description: The 'influx secret find' command lists secret keys. description: The 'influx secret list' command lists secret keys.
menu: menu:
v2_0_ref: v2_0_ref:
name: influx secret find name: influx secret list
parent: influx secret parent: influx secret
weight: 101 weight: 101
v2.0/tags: [secrets] v2.0/tags: [secrets]
--- ---
The `influx secret find` command lists secret keys. The `influx secret list` command lists secret keys.
## Usage ## Usage
``` ```
influx secret find [flags] influx secret list [flags]
``` ```
#### Aliases
`list`, `ls`, `find`
## Flags ## Flags
| Flag | Description | Input type | {{< cli/mapped >}} | | Flag | Description | Input type | {{< cli/mapped >}} |
|:---- |:----------- |:----------:|:------------------ | |:---- |:----------- |:----------:|:------------------ |
| `-h`, `--help` | Help for the `find` command | | | | `-h`, `--help` | Help for the `list` command | | |
| `-o`, `--org` | Organization name | string | `INFLUX_ORG` | | `-o`, `--org` | Organization name | string | `INFLUX_ORG` |
| `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |

View File

@ -22,7 +22,7 @@ influx task [command]
|:---------- |:----------- | |:---------- |:----------- |
| [create](/v2.0/reference/cli/influx/task/create) | Create task | | [create](/v2.0/reference/cli/influx/task/create) | Create task |
| [delete](/v2.0/reference/cli/influx/task/delete) | Delete task | | [delete](/v2.0/reference/cli/influx/task/delete) | Delete task |
| [find](/v2.0/reference/cli/influx/task/find) | Find tasks | | [list](/v2.0/reference/cli/influx/task/list) | List tasks |
| [log](/v2.0/reference/cli/influx/task/log) | Log related commands | | [log](/v2.0/reference/cli/influx/task/log) | Log related commands |
| [retry](/v2.0/reference/cli/influx/task/retry) | retry a run | | [retry](/v2.0/reference/cli/influx/task/retry) | retry a run |
| [run](/v2.0/reference/cli/influx/task/run) | Run related commands | | [run](/v2.0/reference/cli/influx/task/run) | Run related commands |

View File

@ -1,24 +1,29 @@
--- ---
title: influx task find title: influx task list
description: The 'influx task find' command lists and searches for tasks in InfluxDB. description: The 'influx task list' command lists and searches for tasks in InfluxDB.
menu: menu:
v2_0_ref: v2_0_ref:
name: influx task find name: influx task list
parent: influx task parent: influx task
weight: 201 weight: 201
aliases:
- /v2.0/reference/cli/influx/task/find
--- ---
The `influx task find` command lists and searches for tasks in InfluxDB. The `influx task list` command lists and searches for tasks in InfluxDB.
## Usage ## Usage
``` ```
influx task find [flags] influx task list [flags]
``` ```
#### Aliases
`list`, `ls`, `find`
## Flags ## Flags
| Flag | Description | Input type | {{< cli/mapped >}} | | Flag | Description | Input type | {{< cli/mapped >}} |
|:---- |:----------- |:----------: |:------------------ | |:---- |:----------- |:----------: |:------------------ |
| `-h`, `--help` | Help for the `find` command | | | | `-h`, `--help` | Help for the `list` command | | |
| `-i`, `--id` | Task ID | string | | | `-i`, `--id` | Task ID | string | |
| `--limit` | Number of tasks to find (default `100`) | integer | | | `--limit` | Number of tasks to find (default `100`) | integer | |
| `--org` | Task organization name | string | `INFLUX_ORG` | | `--org` | Task organization name | string | `INFLUX_ORG` |

View File

@ -1,6 +1,6 @@
--- ---
title: influx task log title: influx task log
description: The 'influx task log' and its subcommand 'find' output log information related related to a task. description: The 'influx task log' and its subcommand 'list' output log information related related to a task.
menu: menu:
v2_0_ref: v2_0_ref:
name: influx task log name: influx task log
@ -9,7 +9,7 @@ weight: 201
v2.0/tags: [logs] v2.0/tags: [logs]
--- ---
The `influx task log` command and its subcommand `find` output log information related to a task. The `influx task log` command and its subcommand `list` output log information related to a task.
## Usage ## Usage
``` ```
@ -20,7 +20,7 @@ influx task log [command]
## Subcommands ## Subcommands
| Subcommand | Description | | Subcommand | Description |
|:---------- |:----------- | |:---------- |:----------- |
| [find](/v2.0/reference/cli/influx/task/log/find) | Find logs for task | | [list](/v2.0/reference/cli/influx/task/log/list) | List logs for task |
## Flags ## Flags
| Flag | Description | | Flag | Description |

View File

@ -1,24 +1,29 @@
--- ---
title: influx task log find title: influx task log list
description: The 'influx task log find' command outputs log information related to a task. description: The 'influx task log list' command outputs log information related to a task.
menu: menu:
v2_0_ref: v2_0_ref:
name: influx task log find name: influx task log list
parent: influx task log parent: influx task log
weight: 301 weight: 301
aliases:
- /v2.0/reference/cli/influx/task/log/find
--- ---
The `influx task log find` command outputs log information related to a task. The `influx task log list` command outputs log information related to a task.
## Usage ## Usage
``` ```
influx task log find [flags] influx task log list [flags]
``` ```
#### Aliases
`list`, `ls`, `find`
## Flags ## Flags
| Flag | Description | Input type | | Flag | Description | Input type |
|:---- |:----------- |:----------: | |:---- |:----------- |:----------: |
| `-h`, `--help` | Help for the `find` command | | | `-h`, `--help` | Help for the `list` command | |
| `--run-id` | Run ID | string | | `--run-id` | Run ID | string |
| `--task-id` | **(Required)** Task ID | string | | `--task-id` | **(Required)** Task ID | string |

View File

@ -1,7 +1,7 @@
--- ---
title: influx task run title: influx task run
description: > description: >
The 'influx task run' command and its subcommand 'find' output information The 'influx task run' command and its subcommand 'list' output information
related to runs of a task. related to runs of a task.
menu: menu:
v2_0_ref: v2_0_ref:
@ -10,7 +10,7 @@ menu:
weight: 201 weight: 201
--- ---
The `influx task run` command and its subcommand `find` output information related to runs of a task. The `influx task run` command and its subcommand `list` output information related to runs of a task.
## Usage ## Usage
``` ```
@ -21,7 +21,7 @@ influx task run [command]
## Subcommands ## Subcommands
| Subcommand | Description | | Subcommand | Description |
|:---------- |:----------- | |:---------- |:----------- |
| [find](/v2.0/reference/cli/influx/task/run/find) | Find runs for a task | | [list](/v2.0/reference/cli/influx/task/run/list) | List runs for a task |
## Flags ## Flags
| Flag | Description | | Flag | Description |

View File

@ -1,26 +1,31 @@
--- ---
title: influx task run find title: influx task run list
description: The 'influx task run find' command outputs information related to runs of a task. description: The 'influx task run list' command outputs information related to runs of a task.
menu: menu:
v2_0_ref: v2_0_ref:
name: influx task run find name: influx task run list
parent: influx task run parent: influx task run
weight: 301 weight: 301
aliases:
- /v2.0/reference/cli/influx/task/run/find
--- ---
The `influx task run find` command outputs information related to runs of a task. The `influx task run list` command outputs information related to runs of a task.
## Usage ## Usage
``` ```
influx task run find [flags] influx task run list [flags]
``` ```
#### Aliases
`list`, `ls`, `find`
## Flags ## Flags
| Flag | Description | Input type | | Flag | Description | Input type |
|:---- |:----------- |:----------: | |:---- |:----------- |:----------: |
| `--after` | After-time for filtering | string | | `--after` | After-time for filtering | string |
| `--before` | Before-time for filtering | string | | `--before` | Before-time for filtering | string |
| `-h`,`--help` | Help for the `find` command | | | `-h`,`--help` | Help for the `list` command | |
| `--limit` | Limit the number of results | integer | | `--limit` | Limit the number of results | integer |
| `--run-id` | Run ID | string | | `--run-id` | Run ID | string |
| `--task-id` | **(Required)** Task ID | string | | `--task-id` | **(Required)** Task ID | string |

View File

@ -22,7 +22,7 @@ influx user [command]
|:---------- |:----------- | |:---------- |:----------- |
| [create](/v2.0/reference/cli/influx/user/create) | Create a user | | [create](/v2.0/reference/cli/influx/user/create) | Create a user |
| [delete](/v2.0/reference/cli/influx/user/delete) | Delete a user | | [delete](/v2.0/reference/cli/influx/user/delete) | Delete a user |
| [find](/v2.0/reference/cli/influx/user/find) | Find a user | | [list](/v2.0/reference/cli/influx/user/list) | List users |
| [password](/v2.0/reference/cli/influx/user/password) | Update a user's password | | [password](/v2.0/reference/cli/influx/user/password) | Update a user's password |
| [update](/v2.0/reference/cli/influx/user/update) | Update a user | | [update](/v2.0/reference/cli/influx/user/update) | Update a user |

View File

@ -1,24 +1,29 @@
--- ---
title: influx user find title: influx user list
description: The 'influx user find' lists and searches for users in InfluxDB. description: The 'influx user list' lists users in InfluxDB.
menu: menu:
v2_0_ref: v2_0_ref:
name: influx user find name: influx user list
parent: influx user parent: influx user
weight: 201 weight: 201
aliases:
- /v2.0/reference/cli/influx/user/find
--- ---
The `influx user find` command lists and searches for users in InfluxDB. The `influx user list` command lists users in InfluxDB.
## Usage ## Usage
``` ```
influx user find [flags] influx user list [flags]
``` ```
#### Aliases
`list`, `ls`, `find`
## Flags ## Flags
| Flag | Description | Input type | | Flag | Description | Input type |
|:---- |:----------- |:----------: | |:---- |:----------- |:----------: |
| `-h`, `--help` | Help for the `find` command | | | `-h`, `--help` | Help for the `list` command | |
| `-i`, `--id` | User ID | string | | `-i`, `--id` | User ID | string |
| `-n`, `--name` | Username | string | | `-n`, `--name` | Username | string |

View File

@ -852,7 +852,7 @@ For example:
h2o_level, location=santa_monica, h2o_feet h2o_level, location=santa_monica, h2o_feet
``` ```
Related entries: [series](/influxdb/v1.7/concepts/glossary/#series) Related entries: [series](#series)
### server ### server
@ -918,8 +918,8 @@ Related entries: [bin](#bin)
### step-plot ### step-plot
In InfluxDB 1.x, a [step-plot graph](https://docs.influxdata.com/chronograf/v1.7/guides/visualization-types/#step-plot-graph) displays time series data in a staircase graph. A data visualization that displays time series data in a staircase graph.
In InfluxDB 2.0, generate a similar graph using the step interpolation option for [line graphs](https://v2.docs.influxdata.com/v2.0/visualize-data/visualization-types/graph/#options). Generate a step-plot using the step [interpolation option for line graphs](/v2.0/visualize-data/visualization-types/graph/#options).
### stream ### stream

View File

@ -27,6 +27,7 @@ InfluxDB 2.0 includes the following data elements:
The sample data below is used to illustrate data elements concepts. The sample data below is used to illustrate data elements concepts.
_Hover over highlighted terms to get acquainted with InfluxDB terminology and layout._ _Hover over highlighted terms to get acquainted with InfluxDB terminology and layout._
<a id="sample-data"></a>
**bucket:** `my_bucket` **bucket:** `my_bucket`
@ -53,11 +54,11 @@ A field includes a field key stored in the `_field` column and a field value sto
A field key is a string that represents the name of the field. In the sample data above, `bees` and `ants` are field keys. A field key is a string that represents the name of the field. In the sample data above, `bees` and `ants` are field keys.
### Field values ### Field value
A field value represents the value of an associated field. Field values can be strings, floats, integers, or booleans. The field values in the sample data show the number of `bees` at specified times: `23`, and `28` and the number of `ants` at a specified time: `30` and `32`. A field value represents the value of an associated field. Field values can be strings, floats, integers, or booleans. The field values in the sample data show the number of `bees` at specified times: `23`, and `28` and the number of `ants` at a specified time: `30` and `32`.
### Field sets ### Field set
A field set is a collection of field key-value pairs associated with a timestamp. The sample data includes the following field sets: A field set is a collection of field key-value pairs associated with a timestamp. The sample data includes the following field sets:
@ -79,16 +80,16 @@ census bees=28i,ants=32i 1566086760000000000
The columns in the sample data, `location` and `scientist`, are tags. The columns in the sample data, `location` and `scientist`, are tags.
Tags include tag keys and tag values that are stored as strings and metadata. Tags include tag keys and tag values that are stored as strings and metadata.
### Tag keys ### Tag key
The tag keys in the sample data are `location` and `scientist`. The tag keys in the sample data are `location` and `scientist`.
### Tag values ### Tag value
The tag key `location` has two tag values: `klamath` and `portland`. The tag key `location` has two tag values: `klamath` and `portland`.
The tag key `scientist` also has two tag values: `anderson` and `mullen`. The tag key `scientist` also has two tag values: `anderson` and `mullen`.
### Tag sets ### Tag set
The collection of tag key-value pairs make up a tag set. The sample data includes the following four tag sets: The collection of tag key-value pairs make up a tag set. The sample data includes the following four tag sets:

View File

@ -11,7 +11,7 @@ weight: 304
Delete secrets using the `influx` command line interface (CLI) or the InfluxDB API. Delete secrets using the `influx` command line interface (CLI) or the InfluxDB API.
## Delete a secret using the influx CLI ## Delete a secret using the influx CLI
Use the [`influx secret delete` command](/v2.0/reference/influx/secret/delete/) Use the [`influx secret delete` command](/v2.0/reference/cli/influx/secret/delete/)
to delete a secret key-value pair from your organization. to delete a secret key-value pair from your organization.
Provide the secret key to delete with the `-k` or `--key` flag. Provide the secret key to delete with the `-k` or `--key` flag.

View File

@ -11,11 +11,11 @@ weight: 302
View secret keys using the `influx` command line interface (CLI) or the InfluxDB API. View secret keys using the `influx` command line interface (CLI) or the InfluxDB API.
## View secret keys using the influx CLI ## View secret keys using the influx CLI
Use the [`influx secret find` command](/v2.0/reference/cli/influx/secret/find/) Use the [`influx secret list` command](/v2.0/reference/cli/influx/secret/list/)
to list your organization's secret keys. to list your organization's secret keys.
```sh ```sh
influx secret find influx secret list
``` ```
## View secret keys using the InfluxDB API ## View secret keys using the InfluxDB API

View File

@ -48,5 +48,5 @@ influx auth create -o my-org \
``` ```
Filtering options such as filtering by authorization ID, username, or user ID are available. Filtering options such as filtering by authorization ID, username, or user ID are available.
See the [`influx auth find` documentation](/v2.0/reference/cli/influx/auth/find) See the [`influx auth list` documentation](/v2.0/reference/cli/influx/auth/list)
for information about other available flags. for information about other available flags.

View File

@ -25,13 +25,13 @@ command line interface (CLI).
## View tokens using the influx CLI ## View tokens using the influx CLI
Use the [`influx auth find` command](/v2.0/reference/cli/influx/auth/find) Use the [`influx auth list` command](/v2.0/reference/cli/influx/auth/list)
to view tokens. to view tokens.
```sh ```sh
influx auth find influx auth list
``` ```
Filtering options such as filtering by authorization ID, username, or user ID are available. Filtering options such as filtering by authorization ID, username, or user ID are available.
See the [`influx auth find` documentation](/v2.0/reference/cli/influx/auth/find) See the [`influx auth list` documentation](/v2.0/reference/cli/influx/auth/list)
for information about other available flags. for information about other available flags.

View File

@ -20,7 +20,7 @@ User passwords cannot be updated in the InfluxDB UI.
Use the [`influx user password` command](/v2.0/reference/cli/influx/user/password) Use the [`influx user password` command](/v2.0/reference/cli/influx/user/password)
to update a password for a user. To update a password, you need the following: to update a password for a user. To update a password, you need the following:
- Username or user ID _(provided in the output of `influx user find`)_ - Username or user ID _(provided in the output of `influx user list`)_
- New password - New password
##### Update a password ##### Update a password

View File

@ -25,7 +25,7 @@ and include the following:
- Username - Username
- Organization name or organization ID to add the user to _(provided in the output of - Organization name or organization ID to add the user to _(provided in the output of
[`influx org find`](/v2.0/reference/cli/influx/org/find/))_ [`influx org list`](/v2.0/reference/cli/influx/org/list/))_
```sh ```sh
# Syntax # Syntax
@ -41,7 +41,7 @@ include a password and organization ID with the `influx user create` command.
- Username - Username
- Organization name or organization ID to add the user to _(provided in the output of - Organization name or organization ID to add the user to _(provided in the output of
[`influx org find`](/v2.0/reference/cli/influx/org/find/))_ [`influx org list`](/v2.0/reference/cli/influx/org/list/))_
- Password - Password
```sh ```sh

View File

@ -15,7 +15,7 @@ to delete a user.
{{% warn %}} {{% warn %}}
Deleting a user removes them completely from InfluxDB. Deleting a user removes them completely from InfluxDB.
To remove a user from an organization without deleting the user entirely, see To remove a user from an organization without deleting the user entirely, see
[Remove a member from an organization](/v2.0/org/members/remove/). [Remove a member from an organization](/v2.0/organizations/members/remove-member/).
{{% /warn %}} {{% /warn %}}
## Delete a user from the InfluxDB UI ## Delete a user from the InfluxDB UI
@ -29,7 +29,7 @@ Users cannot be deleted from the InfluxDB UI.
Use the [`influx user delete` command](/v2.0/reference/cli/influx/user/delete) Use the [`influx user delete` command](/v2.0/reference/cli/influx/user/delete)
to delete a user. Deleting a user requires the following: to delete a user. Deleting a user requires the following:
- The user ID _(provided in the output of `influx user find`)_ - The user ID _(provided in the output of `influx user list`)_
```sh ```sh
# Syntax # Syntax

View File

@ -23,7 +23,7 @@ User information cannot be updated in the InfluxDB UI.
Use the [`influx user update` command](/v2.0/reference/cli/influx/user/update) Use the [`influx user update` command](/v2.0/reference/cli/influx/user/update)
to update a user. Updating a user requires the following: to update a user. Updating a user requires the following:
- The user ID _(provided in the output of `influx user find`)_ - The user ID _(provided in the output of `influx user list`)_
##### Update the name of a user ##### Update the name of a user
```sh ```sh

View File

@ -20,13 +20,13 @@ There is no list of users in the InfluxDB UI.
## View users using the influx CLI ## View users using the influx CLI
Use the [`influx user find` command](/v2.0/reference/cli/influx/user/find) Use the [`influx user list` command](/v2.0/reference/cli/influx/user/list)
to view users. to view users.
```sh ```sh
influx user find influx user list
``` ```
Filtering options such as filtering by username or ID are available. Filtering options such as filtering by username or ID are available.
See the [`influx user find` documentation](/v2.0/reference/cli/influx/user/find) See the [`influx user list` documentation](/v2.0/reference/cli/influx/user/list)
for information about other available flags. for information about other available flags.

View File

@ -32,7 +32,7 @@ See [Get started with Flux](/v2.0/query-data/get-started) to learn more about Fl
2. Use the Flux builder in the bottom panel to create a Flux query: 2. Use the Flux builder in the bottom panel to create a Flux query:
- Select a bucket to define your data source. - Select a bucket to define your data source.
- Edit your time range with the [time range option](/select-time-range/) in the dropdown menu. - Edit your time range with the [time range option](#select-time-range) in the dropdown menu.
- Add filters to narrow your data by selecting attributes or columns in the dropdown menu. - Add filters to narrow your data by selecting attributes or columns in the dropdown menu.
- Select **Group** from the **Filter** dropdown menu to group data into tables. For more about how grouping data in Flux works, see [Group data](/v2.0/query-data/guides/group-data/). - Select **Group** from the **Filter** dropdown menu to group data into tables. For more about how grouping data in Flux works, see [Group data](/v2.0/query-data/guides/group-data/).
3. Alternatively, click **Script Editor** to manually edit the query. 3. Alternatively, click **Script Editor** to manually edit the query.

View File

@ -28,11 +28,11 @@ To write data into InfluxDB, you need the following:
- an organization - an organization
{{% note %}} {{% note %}}
See [View organizations](/v2.0/organizations/view-orgs/#view-your-organization-id/) for instructions on viewing your organization ID. See [View organizations](/v2.0/organizations/view-orgs/#view-your-organization-id) for instructions on viewing your organization ID.
{{% /note %}} {{% /note %}}
- a bucket - a bucket
{{% note %}} {{% note %}}
See [View buckets](/v2.0/organizations/view-orgs/#view-your-organization-id/) for instructions on viewing your bucket ID. See [View buckets](/v2.0/organizations/buckets/view-buckets/) for instructions on viewing your bucket ID.
{{% /note %}} {{% /note %}}
- an [authentication token](/v2.0/security/tokens/view-tokens/) - an [authentication token](/v2.0/security/tokens/view-tokens/)