LoggingFilter - Amazon WAFV2
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: