enum LogQueryVisualizationType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudWatch.LogQueryVisualizationType |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#LogQueryVisualizationType |
Java | software.amazon.awscdk.services.cloudwatch.LogQueryVisualizationType |
Python | aws_cdk.aws_cloudwatch.LogQueryVisualizationType |
TypeScript (source) | aws-cdk-lib » aws_cloudwatch » LogQueryVisualizationType |
Types of view.
Example
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
Name | Description |
---|---|
TABLE | Table view. |
LINE | Line view. |
STACKEDAREA | Stacked area view. |
BAR | Bar view. |
PIE | Pie view. |
TABLE
Table view.
LINE
Line view.
STACKEDAREA
Stacked area view.
BAR
Bar view.
PIE
Pie view.