docs-v2/content/v2.0/reference/cli/influx/task/find.md

34 lines
1.4 KiB
Markdown

---
title: influx task find
description: The 'influx task find' command lists and searches for tasks in InfluxDB.
menu:
v2_0_ref:
name: influx task find
parent: influx task
weight: 201
---
The `influx task find` command lists and searches for tasks in InfluxDB.
## 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` | Task organization name | string |
| `--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 |