CLI reference
norcube monitor status-pages layout set
Replace a status page's layout from a JSON file; public within a minute on a published page
Not verified yet
Replaces the layout as a whole and prints the saved one. On a published page the result is public within a minute, and adding a monitor publishes its status, so you must be able to read every monitor you name.
The file has "components" and "groups" (use [] for none), in the shape "layout get -o json" prints. Keep a row's id to keep the row, leave it out for a new one. A row left out of the file is removed, and with it its place on any posted incident.
Usage
norcube monitor status-pages layout set <page> [flags]Examples
norcube monitor status-pages layout set acme --file layout.json
norcube monitor status-pages layout get acme -o json | jq '.groups[0].collapsed = true' | norcube monitor status-pages layout set acme --file -Flags
| Flag | Default | Description |
|---|---|---|
--file | Read the layout as JSON from this file (- for standard input) |
Every command also takes the global flags: --profile, --org, -o, --query, --debug and more.
See also
norcube monitor status-pages layout: Show or replace what a status page shows