LoggingFilter - AWS WAFV2

LoggingFilter

Filtering that specifies which web requests are kept in the logs and which are dropped, defined for a web ACL's LoggingConfiguration.

You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.

Contents

DefaultBehavior

Default handling for logs that don't match any of the specified filtering conditions.

Type: String

Valid Values: KEEP | DROP

Required: Yes

Filters

The filters that you want to apply to the logs.

Type: Array of Filter objects

Array Members: Minimum number of 1 item.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: