Add or remove a data table widget from a CloudWatch dashboard - Amazon CloudWatch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Add or remove a data table widget from a CloudWatch dashboard

With the data table widget, you can see the raw datapoints of your metric and a quick summary of that raw data. Because the data table widget is not a chart to abstract the actual data away from you, it is easier to understand the datapoints being presented. The procedures in this section describe how to add and remove a data table widget from a CloudWatch dashboard.

Table properties

A data table has a default set of properties that don’t require any changes to be made to the options or source. These properties include a sticky label column, all summary columns enabled, datapoints rounded, and their units converted.

Each data table widget can have the following properties. The information about each property includes how to configure it in the JSON source of the dashboard. For more information about dashboard JSON, see Dashboard Body Structure and Syntax.

Summary

Summary columns are a new property introduced with the data table widget. These columns are a specific subset of summaries of your current table. For example, the Sum summary is a sum of all displayed datapoints in its row. The summary columns are not the same as CloudWatch statistics. Represented in source as:

"table": { "summaryColumns": [ "MIN", "MAX", "SUM", "AVG" ] },
Thresholds

Use this to apply thresholds to your table. When a data point falls within a threshold, its cell is highlighted with the threshold color. Represented in source as:

"annotations": { "horizontal": [ { "label": string, "value": int, "fill": "above" | "below" } ] }
Unit in label column

To display what unit is associated with the metric, you can enable this option to display the unit in the label column beside the label. Represented in source as:

"yAxis": { "left": { "showUnits": true | false } }
Invert rows and columns

This transforms the table so that the datapoints swap from columns to rows, and the metrics become columns. Represented in source as:

"table": { "layout": "vertical" | "horizontal" }
Sticky summary columns

This makes the summary columns sticky, so that they remain in view while you scroll. The label is already sticky. Represented in source as:

"table": { "stickySummary": true | false }
Display only summary columns

This prevents the columns of datapoints from being displayed, so that only the label and summary columns are displayed. Represented in source as:

"table": { "showTimeSeriesData": false | true }
Live data

Displays the most recent data point, even if it is not yet fully aggregated. Represented in source as:

"liveData": true | false
Number widget format

Displays as many digits as can fit in the cell, before rounding and converting. Represented in source as:

"singleValueFullPrecision": true | false
To add a data table widget to a dashboard
  1. Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/.

  2. In the navigation pane, choose Dashboards and then choose a dashboard.

  3. Choose the + button, select Data table, and choose Next.

  4. In the Browse tab, search or browse for the metrics that you want to display in the table widget. Then select the metrics.

  5. (Optional) To change the layout of the table, choose the Options tab and select Invert rows and columns.

    You can also use the Options tab to change what columns appear in the table and display the unit being used in the Label column.

    Tip

    To display more accurate thresholds, choose Show as many digits as can fit before rounding.

  6. (Optional) To change your data table widget's time range, select one of the predefined time ranges in the upper area of the widget. The time ranges span from 1 hour to 1 week. To set your own time range, choose Custom.

  7. (Optional) To change your data table widget's time range, select one of the predefined time ranges in the upper area of the widget. The time ranges span from 1 hour to 1 week. To set your own time range, choose Custom.

  8. (Optional) To have this widget keep using the time range that you select, even if the time range for the rest of the dashboard is later changed, choose Persist time range.

  9. Choose Create widget and then choose Save dashboard.

To remove a table widget to a dashboard
  1. Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/.

  2. In the navigation pane, choose Dashboards, and then choose a dashboard.

  3. In the upper-right corner of the widget that you want to remove, choose Widget actions, Delete.

  4. Choose Save dashboard.