The createDashboardFromPackageTemplate() GraphQL mutation field may be used to create a dashboard in LogScale from a package dashboard template.

For more information on creating dashboards, see the Creating Dashboards and Widgets documentation page. You may also want to look at the Packages page.



Below is the syntax for the createDashboardFromPackageTemplate() mutation field:

      viewName: string!
      packageId: VersionedPackageSpecifier!
      dashboardTemplateName: string!
      overrideName: string
   ): CreateDashboardFromPackageTemplateMutation!

Given and Returned Datatypes

The given datatype VersionedPackageSpecifier is a scalar value. The returned datatype CreateDashboardFromPackageTemplateMutation has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: CreateDashboardFromPackageTemplateMutation

actionDashboardyes The dashboard to create from the package template (see Dashboard Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.