Merge pull request #110 from influxdata/import-export-dashboards

Import export dashboards
pull/112/head
noramullen1 2019-03-28 13:25:52 -07:00 committed by GitHub
commit c94e794e5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 155 additions and 30 deletions

View File

@ -53,10 +53,19 @@ The InfluxDB UI provides multiple ways to create a task:
1. Click on the **Tasks** icon in the left navigation menu.
{{< nav-icon "tasks" >}}
2. Click **Import** in the upper right.
2. Click **+ Create Task** in the upper right.
3. Select **Import Task**.
3. Drag and drop or select a file to upload.
4. Click **Upload Task**.
4. Click **Import JSON as Task**.
### Clone a task
1. Click on the **Tasks** icon in the left navigation menu.
{{< nav-icon "tasks" >}}
2. Hover over the task you would like to clone and click the **{{< icon "duplicate" >}}** that appears.
4. Click **Clone**.
## Create a task using the influx CLI
Use `influx task create` command to create a new task.

View File

@ -8,7 +8,7 @@ menu:
v2_0:
name: Delete a task
parent: Manage tasks
weight: 204
weight: 205
---
## Delete a task in the InfluxDB UI

View File

@ -0,0 +1,28 @@
---
title: Export a task
seotitle: Export an InfluxDB task
description: How to export a data processing task from InfluxDB using the InfluxDB user interface.
menu:
v2_0:
name: Export a task
parent: Manage tasks
weight: 204
---
InfluxDB allows you to export tasks from the InfluxDB user interface (UI).
Tasks are exported as downloadable JSON files.
To export a task:
## Delete a task in the InfluxDB UI
1. Click the **Tasks** icon in the left navigation menu.
{{< nav-icon "tasks" >}}
2. In the list of tasks, hover over the task you would like to export and click
the **{{< icon "gear" >}}** that appears.
3. Select **Export**.
4. There are multiple options for downloading or saving the task export file:
- Click **Download JSON** to download the exported JSON file.
- Click **Save as template** to save the export file as a task template.
- Click **Copy to Clipboard** to copy the raw JSON content to your machine's clipboard.

View File

@ -0,0 +1,14 @@
---
title: Manage InfluxDB dashboards
description: Create, edit, and manage custom dashboards in the InfluxDB user interface (UI).
v2.0/tags: [dashboards]
menu:
v2_0:
name: Manage dashboards
parent: Visualize data
weight: 101
---
Create, edit, and manage dashboards from the **Dashboards** tab in the left navigation.
{{< children >}}

View File

@ -1,28 +1,49 @@
---
title: Manage InfluxDB dashboards
description: Create, edit, and manage custom dashboards in the InfluxDB user interface (UI).
title: Create a dashboard
seotitle: Create an InfluxDB dashboard
description: >
Create a new dashboard or import an existing dashboard in the
InfluxDB user interface (UI).
v2.0/tags: [dashboards]
menu:
v2_0:
name: Manage dashboards
parent: Visualize data
weight: 101
name: Create a dashboard
parent: Manage dashboards
weight: 201
---
Create, edit, and manage dashboards from the **Dashboards** tab in the left navigation.
## Create a dashboard
**To create a dashboard**:
**To create a new dashboard**:
1. Click the **Dashboards** icon in the navigation bar.
{{< nav-icon "dashboards" >}}
2. Click the **+Create Dashboard** button in the upper right.
2. Click the **+Create Dashboard** menu in the upper right and select **New Dashboard**.
3. Enter a name for your dashboard in the **Name this dashboard** field in the upper left.
**To import an existing dashboard**:
1. Click the **Dashboards** icon in the navigation bar.
{{< nav-icon "dashboards" >}}
2. Click the **Create Dashboard** menu in the upper right and select **Import Dashboard**.
3. In the window that appears:
* Select **Upload File** to drag-and-drop or select a file.
* Select **Paste JSON** to paste in JSON.
4. Select an organization from the **Destination Organization** dropdown.
5. Click **Import JSON as Dashboard**.
## Clone a dashboard
1. Hover over the dashboard name in the list of dashboard to show options.
2. Click **Clone**. The cloned dashboard opens.
![Clone a dashboard](/img/2-0-dashboard-clone.png)
#### Add data to your dashboard
1. From your dashboard, click **Add Cell** (**{{< icon "add-cell" >}}**) in the upper right. The Data Explorer overlay opens.
@ -36,19 +57,3 @@ You can also send data to your dashboard directly from the Data Explorer. For de
2. Enter your note in the window that appears. You can use Markdown syntax to format your note.
3. To preview your Markdown formatting, click the **Preview** option.
4. Click **Save**.
## Modify a dashboard
#### Delete a dashboard
1. Hover over the dashboard name in the list of dashboards to show options.
2. Click **Delete**.
3. Click **Confirm** to continue deleting your dashboard.
![Delete a dashboard](/img/2-0-dashboard-delete.png)
#### Clone a dashboard
1. Hover over the dashbaord name in the list of dashboard to show options.
2. Click **Clone**. The cloned dashboard opens.
![Clone a dashboard](/img/2-0-dashboard-clone.png)

View File

@ -0,0 +1,22 @@
---
title: Delete a dashboard
seotitle: Delete an InfluxDB dashboard
description: Delete a dashboard from the InfluxDB user interface (UI).
v2.0/tags: [dashboards]
menu:
v2_0:
parent: Manage dashboards
weight: 204
---
To delete a dashboard from the InfluxDB user interface (UI):
1. Hover over the dashboard name in the list of dashboards to show options.
2. Click **{{< icon "trash" >}}**.
3. Click **Confirm** to delete your dashboard.
![Delete a dashboard](/img/2-0-dashboard-delete.png)
{{% warn %}}
Deleting a dashboard cannot be undone.
{{% /warn %}}

View File

@ -0,0 +1,27 @@
---
title: Export a dashboard
seotitle: Export an InfluxDB dashboard
description: >
Export a dashboard using the InfluxDB user interface (UI).
v2.0/tags: [dashboards]
menu:
v2_0:
name: Export a dashboard
parent: Manage dashboards
weight: 203
---
InfluxDB lets you export dashboards from the InfluxDB user interface (UI).
## Export a dashboard
1. Click the **Dashboards** icon in the navigation bar.
{{< nav-icon "dashboards" >}}
2. Hover over a dashboard in the list, then click the gear icon ({{< icon "gear" >}}) and select **Export**.
3. Review the JSON in the window that appears.
4. Select one of the following options:
* **Download JSON**: Download the dashboard as a JSON file.
* **Save as template**: Save the JSON as a dashboard template.
* **Copy to Clipboard**: Copy the JSON to your clipboard.

View File

@ -0,0 +1,20 @@
---
title: Update a dashboard
seotitle: Update an InfluxDB dashboard
description: Update an InfluxDB dashboard in the InfluxDB user interface (UI).
v2.0/tags: [dashboards]
menu:
v2_0:
name: Update a dashboard
parent: Manage dashboards
weight: 202
draft: true
---
**Notes:**
- Dashboard name
- Dashboard description
- Labels
- Dashboard cells
- etc.