Exporting and importing dashboard presets
About this task
Export dashboard configurations to conveniently import into other clusters or other OpsCenter instances. The dashboard configuration exports and imports as a JSON file.
The location of the opscenterd.conf file depends on the type of installation:
-
Package installations: /etc/opscenter/opscenterd.conf
-
Tarball installations: install_location/conf/opscenterd.conf
The export and import of presets is currently a Labs feature.
To enable the feature, add the following to |
[labs] enable_dashboard_preset_import_export = True
Export and import procedure
-
Go to the Dashboard tab that you want to export. Hover on the preset tab and click the drop-down arrow to open the menu. Click Export from the preset menu.
The dashboard preset .json file downloads to your computer.
-
Go to the cluster or instance into which you want to import the presets.
-
Click the Import link on the Dashboard.
The Import Dashboard Preset dialog appears.
-
Enter a name for the preset.
-
Click Choose File and select the exported .json file.
-
Click Import.
The dashboard preset is imported into its new location.