Skip to content

ezgh obs dashboards create

Create a dashboard from a JSON file.

Updated View as Markdown
ezgh obs dashboards create -f <file.json> [flags]

Create a dashboard from a JSON file: { “name”, “description”, “tags”, “spec” }, where name and spec are required, tags is an object of strings, and spec is the dashboard’s variables, time range, refresh interval and panels. -f - reads the file from stdin. It always creates a new dashboard (an id or slug in the file is ignored); apply creates or updates. A project has at most 200 dashboards (the quota obs.dashboards.perProject).

Part of ezgh obs dashboards.

Examples

ezgh obs dashboards create -f checkout.json

Flags

Flag Type Default Description
-f, --file string the dashboard’s JSON file, or - for stdin

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close