fastly dashboard item/create
Create a custom dashboard item.
Syntax
$ fastly dashboard item/create --dashboard-id=DASHBOARD-ID --title=TITLE --subtitle=SUBTITLE --source-type=SOURCE-TYPE --metric=METRIC --plot-type=PLOT-TYPE
Options
Key | Required? | Default | Description |
---|---|---|---|
--dashboard-id | Yes | ID of the Dashboard to contain the item | |
--title | Yes | A human-readable title for the dashboard item | |
--subtitle | Yes | A human-readable subtitle for the dashboard item. Often a description of the visualization | |
--source-type | Yes | The source of the data to display | |
--metric | Yes | The metrics to visualize. Valid options depend on the selected data source. Set flag multiple times to include multiple metrics | |
--plot-type | Yes | The type of chart to display | |
--json | No | Render output as JSON | |
--visualization-type | No | chart | The type of visualization to display. Currently, only "chart" is supported |
--calculation-method | No | The aggregation function to apply to the dataset | |
--format | No | The units to use to format the data | |
--span | No | 4 | The number of columns for the dashboard item to span. Dashboards are rendered on a 12-column grid on "desktop" screen sizes |
Global options
Key | Required? | Default | Description |
---|---|---|---|
--help | No | Show context-sensitive help. | |
--accept-defaults | No | Accept default options for all interactive prompts apart from Yes/No confirmations | |
--auto-yes | No | Answer yes automatically to all Yes/No confirmations. This may suppress security warnings | |
--debug-mode | No | Print API request and response details (NOTE: can disrupt the normal CLI flow output formatting) | |
--enable-sso | No | Enable Single-Sign On (SSO) for current profile execution (see also: 'fastly sso') | |
--non-interactive | No | Do not prompt for user input - suitable for CI processes. Equivalent to --accept-defaults and --auto-yes | |
--profile | No | Switch account profile for single command execution (see also: 'fastly profile switch') | |
--quiet | No | Silence all output except direct command output. This won't prevent interactive prompts (see: --accept-defaults, --auto-yes, --non-interactive) | |
--token | No | Fastly API token (or via FASTLY_API_TOKEN) | |
--verbose | No | Verbose logging |