# LoggingFilterProperty

Configuration that determines which WAF log records to keep or drop based on specified conditions.

- Source: Generated code
- Type last changed: v2.233.0 · 18 Dec 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const loggingFilterProperty: observabilityadmin.CfnTelemetryRule.LoggingFilterProperty = {
  defaultBehavior: 'defaultBehavior',
  filters: [{
    behavior: 'behavior',
    conditions: [{
      actionCondition: {
        action: 'action',
      },
      labelNameCondition: {
        labelName: 'labelName',
      },
    }],
    requirement: 'requirement',
  }],
};
```

## Properties

- `defaultBehavior`: string — The default action (KEEP or DROP) for log records that don't match any filter conditions.

- `filters`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTelemetryRule.FilterProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_observabilityadmin.CfnTelemetryRule.FilterProperty.html)[] — A list of filter conditions that determine log record handling behavior.
