Dashboards
A dashboard is a set of charts. This topic covers:
Dashboard Types
- Display chart details.
- Edit a chart and then save back to a new or existing custom dashboard.
- Save a chart, make any modifications, and then save to a new or existing dashboard.
- Remove a chart.
When you first display a page containing charts it has a custom dashboard with the same charts as a default dashboard.
Creating a Dashboard
- Do one of the following:
- Select .
- Select Create Dashboard. and click
- Save a chart to a new dashboard.
- Specify a name and optionally a duration.
Conventional dashboard names follow the patterns given by one of the following Java regular expressions:
Pattern.compile("^(.+):(\\d):" + STATUS_VIEW_SUFFIX + "$");
Pattern.compile("^(.+):" + STATUS_VIEW_SUFFIX + "$");
Examples of expected names are: HOST:STATUS_VIEW, MGMT:STATUS_VIEW, or HDFS:5:STATUS_VIEW. If the dashboard name does not match the expected pattern, a warning will be displayed in the server log. - Click Create Dashboard.
Managing Dashboards
- Create Dashboard - create a new dashboard.
- Clone - clones an existing dashboard.
- Edit - edit an existing dashboard.
- Export - exports the specifications for the dashboard as a JSON file.
- Import Dashboard - reads an exported JSON file and recreates the dashboard.
- Remove - deletes the dashboard.
Configuring Dashboards
Saving Charts to Dashboards
Minimum Required Role: Configurator (also provided by Cluster Administrator, Full Administrator)
You can save the charts and their configurations (type, dimension, and y-axis minimum and maximum) to a new dashboard or to an existing dashboard.
If your tsquery statement resulted in multiple charts, those charts are saved as a unit (either to a new or existing dashboard). You cannot edit the individual plots in that set of charts, but you can edit the set as a whole. A single edit button appears for the set that you saved — typically on the last chart in the set.
You can edit a copy of the individual charts in the set, but the edited copy does not change the original chart in the dashboard from which it was copied.
Saving Charts to a New Dashboard
- Optionally modify the chart properties.
- If the chart was created with the Chart Builder, optionally type a name for the chart in the Title field.
- Do one of the following:
- New chart - Click Save.
- Existing chart - Move the cursor over the chart, and click the icon at the top right.
- Optionally edit the chart name.
- Select the Add chart to a new custom dashboard option.
- Enter a dashboard name.
- Click Save Chart. The new dashboard appears on the menu under the top-level Charts tab.
Saving Charts to an Existing Dashboard
- Optionally modify the chart properties.
- If the chart was created with the Chart Builder, optionally type a name for the chart in the Title field.
- Do one of the following:
- New chart - Click Save.
- Existing chart - Move the cursor over the chart, and click the icon at the top right.
- Optionally edit the chart name.
- Select the Add chart to an existing custom or system dashboard option.
- Select a dashboard from the Dashboard Name drop-down list.
- Click Save Chart. The chart is added (appended) to the dashboard you select.
Adding a New Chart to the Home Page Custom Dashboard
- Click and select Add From Chart Builder - displays the
Add Chart To Dashboard page, with variables preset for the specific cluster where you want to add the dashboard.
- Click the question mark icon to the right of the Build Chart button and select a metric from the List of Metrics, type a metric name or description into the Basic text field, or type a query into the Advanced field.
- Click Build Chart. The charts that result from your query are displayed, and you can modify their chart type, combine them using facets, change their size and so on.
- Click Add.
Adding a New Chart to the Custom Dashboard
You can add new charts to the custom dashboard on the Status tab of a service, host, or role.
- Click and select one of the following:
- Add From Charts Library - displays the charts page.
- Select one or more charts.
- Add From Chart Builder - displays the Add Chart To Dashboard page, with variables
preset for the specific service, role, or host where you want to add the dashboard.
- Click the question mark icon to the right of the Build Chart button and select a metric from the List of Metrics, type a metric name or description into the Basic text field, or type a query into the Advanced field.
- Click Build Chart. The charts that result from your query are displayed, and you can modify their chart type, combine them using facets, change their size and so on.
- Add From Charts Library - displays the charts page.
- Click Add.
Removing a Chart from a Custom Dashboard
Minimum Required Role: Configurator (also provided by Cluster Administrator, Full Administrator)
- Move the cursor over the chart, and click the icon at the top right.
- Click Remove.
Moving and Resizing Charts on a Dashboard
You can move or resize the charts on a dashboard:
- Drag charts to a dashboard to change their relative positions.
- Change the size of a chart on a dashboard by dragging the lower-right corner of the chart.