Using Console
Using CLI
<web-acl-id>
with the ID of your WebACL and <log-destination-arn>
with the ARN of the Amazon Kinesis Data Firehose delivery stream or Amazon S3 bucket where you want to store the logs.Using Python
YOUR_WEB_ACL_ID
: Replace this with the ID of the WebACL for which you want to enable logging.REGION
: Replace this with the AWS region where the logs will be stored.ACCOUNT_ID
: Replace this with your AWS account ID.LOG_GROUP_NAME
: Replace this with the name of the CloudWatch log group where WAF logs will be stored.FIREHOSE_NAME
: Replace this with the name of the Kinesis Data Firehose delivery stream where logs will be delivered.