LogQueryVisualizationType
- class aws_cdk.aws_cloudwatch.LogQueryVisualizationType(value)
Bases:
Enum
Types of view.
- exampleMetadata:
infused
Example:
# dashboard: cloudwatch.Dashboard dashboard.add_widgets(cloudwatch.LogQueryWidget( log_group_names=["my-log-group"], view=cloudwatch.LogQueryVisualizationType.TABLE, # The lines will be automatically combined using '
- |’.
query_lines=[“fields @message”, “filter @message like /Error/” ]
))
Attributes
- BAR
Bar view.
- LINE
Line view.
- PIE
Pie view.
- STACKEDAREA
Stacked area view.
- TABLE
Table view.