Merge pull request #151 from influxdata/alpha-8-templates

Alpha 8 templates
pull/155/head
noramullen1 2019-04-11 14:50:33 -07:00 committed by GitHub
commit e0b498e68d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 135 additions and 3 deletions

View File

@ -23,18 +23,48 @@ weight: 201
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 create a dashboard from a template in the templates UI**:
1. Click the **Settings** icon in the left navigation.
{{< nav-icon "settings" >}}
2. Select the **Templates** tab.
3. Hover over the name of the template you want to create a dashboard from, then click **Create**.
**To import an existing dashboard**:
1. Click the **Dashboards** icon in the navigation bar.
{{< nav-icon "dashboards" >}}
{{< 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**.
4. Click **Import JSON as Dashboard**.
## Create dashboards with templates
**To create a dashboard from a template in the dashboards page**:
1. Click the **Dashboards** icon in the navigation bar.
{{< nav-icon "dashboards" >}}
2. Click the **+Create Dashboard** menu in the upper right and select **From a Template**.
3. In the window that appears, select a template and review the template's variables and cells.
4. Click **Create Dashboard**.
**To create a dashboard from a template in the templates UI**:
1. Click the **Settings** icon in the left navigation.
{{< nav-icon "settings" >}}
2. Select the **Templates** tab.
3. Hover over the name of the template you want to create a dashboard from, then click **Create**.
## Clone a dashboard

View File

@ -0,0 +1,14 @@
---
title: Manage InfluxDB templates
description: Create, edit, and manage templates in the InfluxDB user interface (UI).
v2.0/tags: [templates]
menu:
v2_0:
name: Manage templates
parent: Visualize data
weight: 101
---
Templates are a way to create and share dashboards across organizations without starting from scratch.
{{< children >}}

View File

@ -0,0 +1,46 @@
---
title: Create a template
seotitle: Create an InfluxDB template
description: Create an InfluxDB template in the InfluxDB user interface (UI).
v2.0/tags: [templates]
menu:
v2_0:
name: Create a template
parent: Manage templates
weight: 201
---
## Import a template
1. Click the **Settings** icon in the left navigation.
{{< nav-icon "settings" >}}
2. Select the **Templates** tab.
3. Click **Import Template** in the upper right.
4. In the window that appears:
* Select **Upload File** to drag-and-drop or select a file.
* Select **Paste JSON** to paste in JSON.
5. Click **Import JSON as Template**.
## Create a template from an existing dashboard
1. Click the **Dashboards** icon in the navigation bar.
{{< nav-icon "dashboards" >}}
2. Click the settings icon ({{< icon "gear" >}}) next to a dashboard in the list, then click **Export**. The dashboard JSON appears in a new window.
3. Click **Save as template**.
## Clone a template
1. Click the **Settings** icon in the left navigation.
{{< nav-icon "settings" >}}
2. Select the **Templates** tab.
3. Hover over the template you want to clone, then click {{< icon "clone" >}}.
4. Click **Clone** to confirm. The cloned template appears in your list.

View File

@ -0,0 +1,22 @@
---
title: Delete a template
seotitle: Delete InfluxDB templates
description: Delete templates in the InfluxDB user interface (UI).
v2.0/tags: [templates]
menu:
v2_0:
name: Delete templates
parent: Manage templates
weight: 203
---
To delete a template in the InfluxDB UI:
1. Click the **Settings** icon in the left navigation.
{{< nav-icon "settings" >}}
2. Select the **Templates** tab.
3. Hover over the name of the template you want to delete, then click **{{< icon "trash" >}}**.
3. Click **Delete** to delete your dashboard.

View File

@ -0,0 +1,20 @@
---
title: View templates
seotitle: View InfluxDB templates
description: View templates in the InfluxDB user interface (UI).
v2.0/tags: [templates]
menu:
v2_0:
name: View templates
parent: Manage templates
weight: 202
---
To view templates in the InfluxDB UI:
1. Click the **Settings** icon in the left navigation.
{{< nav-icon "settings" >}}
2. Select the **Templates** tab. The list of templates appears.
3. Click on the name of a template to view its JSON.