ktm dashboards build

Use ktm dashboards build to atomically create dashboards with all widgets validated upfront and auto-positioned, previewing layouts via dry-run.

Create a dashboard with all widgets atomically

Usage

ktm dashboards build [flags]

Examples

# Build a dashboard (dry-run)
ktm dashboards build --operator my-op --name "SLA" --widgets widgets.json --dry-run

# Build for real
ktm dashboards build --operator my-op --name "SLA" --widgets widgets.json

# With bucket
ktm dashboards build --operator my-op --name "Passive" --widgets w.json --bucket my-bucket

Flags

FlagTypeDefaultDescription
--bucketstringInfluxDB bucket (optional)
--dry-runbooleanPreview layout without creating the dashboard
--namestringDashboard name (required)
--operatorstringOperator slug (required)
--widgetsstringJSON file with widget array (required)

Details

Create a dashboard with all widgets in a single atomic call. Validates all widgets upfront — if ANY fails, NONE are created. Auto-positions widgets using type defaults.

Use --dry-run to preview the ASCII grid layout without creating anything.

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on