Skip to content
v2.275.0

LogQueryVisualizationType Enum ​

Types of view.

Example ​

ts
declare const dashboard: cloudwatch.Dashboard;

dashboard.addWidgets(new cloudwatch.LogQueryWidget({
  logGroupNames: ['my-log-group'],
  view: cloudwatch.LogQueryVisualizationType.TABLE,
  // The lines will be automatically combined using '\n|'.
  queryLines: [
    'fields @message',
    'filter @message like /Error/',
  ]
}));

Members ​

MemberDescription
TABLETable view.
LINELine view.
STACKEDAREAStacked area view.
BARBar view.
PIEPie view.

Referenced by ​