Skip to content

import dashboard

Chris Lowth edited this page Sep 21, 2022 · 9 revisions

import dashboard, import dashboards

Usage:

tbutil [{cred}] import dashboard [-create|-edit] [-to-db] {file_name}
tbutil [{cred}] import dashboards [-clean] [-to-db] {directory_name}

Singular version

Imports a dashboard using the definition generated by the corresponding "export dashboard" command.

The name of the file is specified in the file_name argument.

The command line options are common to many import commands. See common formatting options for details.

The usual process for exporting a re-importing a dashboard is as follows..

  • Find the UUID of the dashboard of interest in the Turbonomic instance in which it already exists.
  • Export the dashboard, and save the details in a JSON format file
    • Eg: tbutil @instance1 "export dashboard" 0NQoJNqEemds5DLjBIQ1w > dashboard1.json
  • Edit the file to make other changes if needed
    • Eg: vi dashboard1.json
  • Import into the target Turbonomic instance

Plural version

Imports the dashboards using the definitions stored in the named directory. This is normally created by the [[import dashboards|import-dashboard]] sub command.

If the -clean flag is specified, any existing dashboards that are not lised in the directory will be deleted.

See also: "delete dashboard", "export dashboard", "list dashboards"

Clone this wiki locally