3.11.4 Importing/exporting dashboards
Exported dashboards can be imported into another environment, for example, when migrating dashboards created in the Ops I development environment to the production environment.
Notes
- Folders cannot be imported or exported.
Create a folder in the destination environment in advance, and then import the dashboard into that folder. - Dashboard permissions cannot be imported or exported.
After importing the dashboard, configure permissions again in the destination environment.
In addition, you might not be able to access the dashboard immediately after import even if permissions are set. Wait approximately one minute, refresh the screen, and then try accessing the dashboard again.
The procedure is shown as follows.
[Operations in the source environment]
- Open the dashboard to be migrated.
- Click [Export], and then click the [Export as Code] button.
- Select "Classic" for "Model", and set "Export for sharing externally" to ON.
- Click the [Download file] button to download the file to be migrated.
[Operations in the destination environment]
- Open the folder in the destination environment where you want to place the dashboard.
- Click [New], and then click the [Import] button.
- Click [Upload dashboard JSON file] in the dotted area, and select the file downloaded from the source environment.
You can also drag the file to the dotted area to upload it. - Configure the following items on the [Import dashboard] screen, and then click the [Import] button.
Item Description Name Enter the name of the new dashboard. Folder Select a folder in the destination environment. Unique identifier (UID) A UID uniquely identifies a dashboard and is automatically generated.
You can also click "Change uid" and enter a desired UID to specify it.
The following characters can be used, with a maximum of 40 characters:- Alphanumeric characters: a to z, A to Z, 0 to 9
- Hyphen (-)
Tips
If a dashboard with the same UID exists, you can overwrite it by using [Import (Overwrite)]. In this case, "Admin" or "Edit" must be assigned as permissions for the target dashboard. However, dashboards provided by Ops I cannot be overwritten.Datasource Select "Ops I".