Merge branch 'master' into alpha-10
commit
2a8be7dd51
|
@ -2,8 +2,7 @@
|
||||||
title: Create a task
|
title: Create a task
|
||||||
seotitle: Create a task for processing data in InfluxDB
|
seotitle: Create a task for processing data in InfluxDB
|
||||||
description: >
|
description: >
|
||||||
How to create a task that processes data in InfluxDB using the InfluxDB user
|
Create a data processing task in InfluxDB using the InfluxDB UI or the `influx` CLI.
|
||||||
interface or the `influx` command line interface.
|
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name: Create a task
|
name: Create a task
|
||||||
|
@ -64,7 +63,7 @@ The InfluxDB UI provides multiple ways to create a task:
|
||||||
3. Select **Import Task**.
|
3. Select **Import Task**.
|
||||||
4. Upload a JSON task file using one of the following options:
|
4. Upload a JSON task file using one of the following options:
|
||||||
- Drag and drop a JSON task file in the specified area.
|
- Drag and drop a JSON task file in the specified area.
|
||||||
- Click to upload and the area to select the JSON task from from your file manager.
|
- Click to upload and the area to select the JSON task from from your file manager.
|
||||||
- Select the **JSON** option and paste in raw task JSON.
|
- Select the **JSON** option and paste in raw task JSON.
|
||||||
5. Click **Import JSON as Task**.
|
5. Click **Import JSON as Task**.
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,12 @@
|
||||||
title: Delete a task
|
title: Delete a task
|
||||||
seotitle: Delete a task for processing data in InfluxDB
|
seotitle: Delete a task for processing data in InfluxDB
|
||||||
description: >
|
description: >
|
||||||
How to delete a task in InfluxDB using the InfluxDB user interface or using
|
Delete a task from InfluxDB using the InfluxDB UI or the `influx` CLI.
|
||||||
the `influx` command line interface.
|
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name: Delete a task
|
name: Delete a task
|
||||||
parent: Manage tasks
|
parent: Manage tasks
|
||||||
weight: 205
|
weight: 206
|
||||||
---
|
---
|
||||||
|
|
||||||
## Delete a task in the InfluxDB UI
|
## Delete a task in the InfluxDB UI
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
---
|
---
|
||||||
title: Export a task
|
title: Export a task
|
||||||
seotitle: Export an InfluxDB task
|
seotitle: Export an InfluxDB task
|
||||||
description: How to export a data processing task from InfluxDB using the InfluxDB user interface.
|
description: Export a data processing task from InfluxDB using the InfluxDB UI.
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name: Export a task
|
name: Export a task
|
||||||
parent: Manage tasks
|
parent: Manage tasks
|
||||||
weight: 204
|
weight: 205
|
||||||
---
|
---
|
||||||
|
|
||||||
InfluxDB allows you to export tasks from the InfluxDB user interface (UI).
|
InfluxDB lets you export tasks from the InfluxDB user interface (UI).
|
||||||
Tasks are exported as downloadable JSON files.
|
Tasks are exported as downloadable JSON files.
|
||||||
|
|
||||||
## Export a task in the InfluxDB UI
|
## Export a task in the InfluxDB UI
|
||||||
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
---
|
||||||
|
title: Run a task
|
||||||
|
seotitle: Run an InfluxDB task
|
||||||
|
description: >
|
||||||
|
Run a data processing task using the InfluxDB UI or the `influx` CLI.
|
||||||
|
menu:
|
||||||
|
v2_0:
|
||||||
|
name: Run a task
|
||||||
|
parent: Manage tasks
|
||||||
|
weight: 203
|
||||||
|
---
|
||||||
|
|
||||||
|
InfluxDB data processing tasks generally run in defined intervals or at a specific time,
|
||||||
|
however, you can manually run a task from the InfluxDB user interface (UI) or the
|
||||||
|
`influx` command line interface (CLI).
|
||||||
|
|
||||||
|
## Run a task from the InfluxDB UI
|
||||||
|
1. Click the **Tasks** icon in the left navigation to view the lists of tasks.
|
||||||
|
|
||||||
|
{{< nav-icon "tasks" >}}
|
||||||
|
|
||||||
|
2. Hover over the task you want to run and click the **{{< icon "gear" >}}** icon.
|
||||||
|
3. Select **Run Task**.
|
||||||
|
|
||||||
|
## Run a task with the influx CLI
|
||||||
|
Use the `influx task run retry` command to run a task.
|
||||||
|
|
||||||
|
{{% note %}}
|
||||||
|
To run a task from the `influx` CLI, the task must have already run at least once.
|
||||||
|
{{% /note %}}
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# List all tasks to find the ID of the task to run
|
||||||
|
influx task find
|
||||||
|
|
||||||
|
# Use the task ID to list previous runs of the task
|
||||||
|
influx task run find --task-id=0000000000000000
|
||||||
|
|
||||||
|
# Use the task ID and run ID to retry a run
|
||||||
|
influx task run retry --task-id=0000000000000000 --run-id=0000000000000000
|
||||||
|
```
|
|
@ -0,0 +1,44 @@
|
||||||
|
---
|
||||||
|
title: View task run history and logs
|
||||||
|
description: >
|
||||||
|
View task run histories and logs using the InfluxDB UI or the `influx` CLI.
|
||||||
|
menu:
|
||||||
|
v2_0:
|
||||||
|
name: View run history
|
||||||
|
parent: Manage tasks
|
||||||
|
weight: 203
|
||||||
|
---
|
||||||
|
|
||||||
|
When an InfluxDB task runs, a "run" record is created in the task's history.
|
||||||
|
Logs associated with each run provide relevant log messages, timestamps,
|
||||||
|
and the exit status of the run attempt.
|
||||||
|
|
||||||
|
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
|
||||||
|
to view task run histories and associated logs.
|
||||||
|
|
||||||
|
## View a task's run history in the InfluxDB UI
|
||||||
|
|
||||||
|
1. Click the **Tasks** icon in the left navigation to view the lists of tasks.
|
||||||
|
|
||||||
|
{{< nav-icon "tasks" >}}
|
||||||
|
|
||||||
|
2. Hover over the task you want to run and click the **{{< icon "gear" >}}** icon.
|
||||||
|
3. Select **View Task Runs**.
|
||||||
|
|
||||||
|
### View task run logs
|
||||||
|
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
|
||||||
|
Use the `influx task run find` command to view a task's run history.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# List all tasks to find the ID of the task to run
|
||||||
|
influx task find
|
||||||
|
|
||||||
|
# Use the task ID to view the run history of a task
|
||||||
|
influx task run find --task-id=0000000000000000
|
||||||
|
```
|
||||||
|
|
||||||
|
{{% note %}}
|
||||||
|
Detailed run logs are not currently available in the `influx` CLI.
|
||||||
|
{{% /note %}}
|
|
@ -2,13 +2,12 @@
|
||||||
title: Update a task
|
title: Update a task
|
||||||
seotitle: Update a task for processing data in InfluxDB
|
seotitle: Update a task for processing data in InfluxDB
|
||||||
description: >
|
description: >
|
||||||
How to update a task that processes data in InfluxDB using the InfluxDB user
|
Update a data processing task in InfluxDB using the InfluxDB UI or the `influx` CLI.
|
||||||
interface or the `influx` command line interface.
|
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name: Update a task
|
name: Update a task
|
||||||
parent: Manage tasks
|
parent: Manage tasks
|
||||||
weight: 203
|
weight: 204
|
||||||
---
|
---
|
||||||
|
|
||||||
## Update a task in the InfluxDB UI
|
## Update a task in the InfluxDB UI
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
title: View tasks
|
title: View tasks
|
||||||
seotitle: View created tasks that process data in InfluxDB
|
seotitle: View created tasks that process data in InfluxDB
|
||||||
description: >
|
description: >
|
||||||
How to view all created data processing tasks using the InfluxDB user interface
|
View existing data processing tasks using the InfluxDB UI or the `influx` CLI.
|
||||||
or the `influx` command line interface.
|
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name: View tasks
|
name: View tasks
|
||||||
|
|
Loading…
Reference in New Issue