Skip to main content
On this page

Kater CLI Present and share dashboard

kater dashboard

Opens, changes and lays out the dashboard of a workspace, which is its dashboard.yaml.

A dashboard shows saved charts as tiles, in sections and tabs. The inputs commands keep your own filter values for a dashboard, and change nothing for anyone else. See Dashboards.

Commands

CommandWhat it does
kater dashboard lookLook at a dashboard as you see it, and print what is wrong with it.
kater dashboard openOpen a workspace’s dashboard. With scaffold: true, save Kater’s scaffold when the workspace has none.
kater dashboard saveCheck and save a whole dashboard.yaml.
kater dashboard fillPut charts on a dashboard and arrange the whole board.
kater dashboard textPut text on a dashboard, to tell its story beside its charts.
kater dashboard tilesAdd charts to a dashboard or take them off.
kater dashboard layoutPlan where charts sit on a dashboard.
kater dashboard inputsKeep, show or forget your own dashboard filters.

The request file

Each command reads one JSON object from the file that --request-file names. Give - to read the request from standard input. Name the workspace by its full path from the content root. Many commands take this file as it is:

ad_reporting.json
{"namespace": {"path": "connections/snowflake_prod_connection/workspaces/ad_reporting"}}

Run the commands from any folder in your local copy of Kater content. Each command sends one operation, and a dot in the operation’s name is a space here: dashboard.tiles.add is kater dashboard tiles add.

Revisions

A command that changes the dashboard can take its expected_revision: the revision that kater dashboard open gave. When someone changed dashboard.yaml after you opened it, Kater refuses the change. Open the dashboard again, and try again.

Examples

Terminal window
# Open the ad_reporting dashboard
kater dashboard open --request-file ad_reporting.json
# Put the spend_by_platform chart on the dashboard
kater dashboard tiles add --request-file add_spend_by_platform.json
# Suggest a place and a size for the tiles of two charts
kater dashboard layout suggest --request-file layout_spend.json
# Show the filter values you kept for the dashboard
kater dashboard inputs read --request-file ad_reporting.json

See also