You use the dashboard command to import, export, share, unshare, delete, reorder, show, hide, and set the default summary for dashboards.
The
dashboard command uses the following syntax.
dashboard -h | import|defsummary|export|share|unshare|delete|reorder|show|hide [parameters]
Command Name | Description | Syntax |
---|---|---|
dashboard import | Import a dashboard from a file and assign the ownership to a user account. | dashboard import -h | user-name|all|group:group_name input-file [--force] [--share all|group-name[{,group-name}]] [--retry maxRetryMinutes] [--set rank] [--default] [--create] |
dashboard export | Export an existing dashboard to a file. | dashboard export -h | user-name dashboard-name [output-dir] |
dashboard defsummary | Import a dashboard from a file and assign the ownership to a user account. | dashboard defsummary -h | input-file|default --adapterKind adapterKind --resourceKind resourceKind |
dashboard share | Share an existing dashboard with one or multiple user groups. | dashboard share -h | user-name dahsboard-name all|group-name[{,group-name}] |
dashboard unshare | Stop sharing a dashboard with specified groups. | dashboard unshare -h | user-name dashboard-name all|group-name[{,group-name}] |
dashboard delete | Permanently delete a dashboard. | dashboard delete -h | user-name|all|group:group_name dashboard-name |
dashboard reorder | Set the order rank for a dashboard, with an option to make it the default. | dashboard reorder -h | user-name|all|group:group_name dashboard-name [--set rank] [--default] |
dashboard show | Show a dashboard. | dashboard show -h | user-name|all|group:group_name {,dashbaordname}|all |
dashboard hide | Hide a dashboard. | dashboard hide -h | user-name|all|group:group_name {,dashboardname}|all |