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

1.6 KiB

title seotitle description influxdb/v2.0/tags menu weight aliases
Create a template Create an InfluxDB dashboard template Create an InfluxDB dashboard template in the InfluxDB user interface (UI).
templates
influxdb_2_0
name parent
Create a template Manage dashboard templates
201
/v2.0/visualize-data/templates/create-template/

Create a template from an existing dashboard

  1. In the navigation menu on the left, select Boards (Dashboards).

    {{< nav-icon "dashboards" >}}

  2. Hover over the dashboard you want to use to create the template and click {{< icon "gear" >}}.

  3. Click Export. The dashboard JSON appears in a new window.

  4. Click Save as template.

Clone a dashboard template

{{% note %}} Only user templates can be cloned. {{% /note %}}

  1. In the navigation menu on the left, select Settings > Templates.

    {{< nav-icon "settings" >}}

  2. Select User Templates.

    {{< img-hd src="/img/influxdb/2-0-templates-type-select.png" alt="Select User Templates" />}}

  3. Hover over the template you want to clone and click {{< icon "clone" >}}.

  4. Click Clone to confirm. The cloned template appears in your list.

Import an existing dashboard template

  1. In the navigation menu on the left, select Settings > Templates.

    {{< nav-icon "settings" >}}

  2. Click Import Template in the upper right.

  3. 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.