Exporting and importing dashboard presets
Export dashboard configurations to conveniently import into other clusters or other OpsCenter instances.
Export dashboard configurations to conveniently import into other clusters or other
OpsCenter instances. The dashboard configuration exports and imports as a JSON
file.
Note: The export and import of presets is currently a labs feature. To
enable the feature, add the following to
opscenterd.conf and restart
opscenterd:
[labs] enable_dashboard_preset_import_export = True
opscenterd.conf
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
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.