docs-v2/content/v2.0/visualize-data/templates/create-template.md

1.2 KiB

title seotitle description v2.0/tags menu weight
Create a template Create an InfluxDB template Create an InfluxDB template in the InfluxDB user interface (UI).
templates
v2_0
name parent
Create a template Manage templates
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.
  1. 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.