Skip to content

CloudWatchLogsFilter

Structure Class

CloudWatchLogsFilter dataclass

Bases: _SerdeShape

A filter for narrowing down agent traces from CloudWatch Logs based on key-value comparisons.

Attributes

key instance-attribute
key: str

The key or field name to filter on within the agent trace data.

operator instance-attribute
operator: str

The comparison operator to use for filtering.

value instance-attribute
value: FilterValue

The value to compare against using the specified operator.