28 lines
895 B
Markdown
28 lines
895 B
Markdown
---
|
|
title: Export a variable
|
|
seotitle: Export a dashboard variable
|
|
description: Export a dashboard variable in the InfluxDB user interface.
|
|
menu:
|
|
influxdb_v2:
|
|
parent: Use and manage variables
|
|
weight: 204
|
|
influxdb/v2/tags: [variables]
|
|
---
|
|
Export dashboard variables from the InfluxDB user interface (UI).
|
|
Variables are exported as downloadable JSON files.
|
|
|
|
### Export a variable
|
|
|
|
1. Click the **Settings** icon in the navigation bar.
|
|
|
|
{{< nav-icon "settings" >}}
|
|
|
|
2. Select the **Variables** tab.
|
|
3. Hover over a variable in the list, then click the gear icon (**{{< icon "gear" >}}**)
|
|
and select **Export**.
|
|
4. Review the JSON in the window that appears.
|
|
5. 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.
|