Export a variable
Export dashboard variables from the InfluxDB user interface (UI). Variables are exported as downloadable JSON files.
Export a variable
Click the Settings icon in the navigation bar.
Settings
Select the Variables tab.
Hover over a variable in the list, then click the gear icon () and select Export.
Review the JSON in the window that appears.
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.