stack kb dashboards create-dashboard cli command

Auth required
elastic stack kb dashboards create-dashboard --title <title> [options]
		

Create a dashboard

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--title string required
A human-readable title for the dashboard.
--access-control string
--description string
A short description of the dashboard.
--esql-approximation
When true, ES|QL visualizations that use STATS run with approximate execution for faster, estimated results.
--filters string[]

Filters applied across all panels, including pinned panels.

Repeatable: pass --filters multiple times to supply more than one value

--options string
--panels string[]

Panels and sections in the dashboard. Each entry is either a panel (with a type and config) or a collapsible section (with a title, collapsed state, and nested panels).

Repeatable: pass --panels multiple times to supply more than one value

--pinned-panels string[]

An array of control panels and their state in the control group.

Repeatable: pass --pinned-panels multiple times to supply more than one value

--project-routing string
Controls cross-project search behavior for this dashboard (Serverless only). Set to _alias:_origin to scope data to the current project, or _alias:* to search across all projects. When omitted, the space default applies.
--query string
--refresh-interval string
--tags string[]

Tag IDs to associate with this dashboard.

Repeatable: pass --tags multiple times to supply more than one value

--time-range string
--input-file string
path to a JSON file to use as command input
--dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--no-validate
skip input validation and send the request as-is
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json

output as JSON