Set up a bucket for full packet captures
Before you can begin a full packet capture, you must first configure a bucket that Cloudflare can use to upload your files.
You can configure an Amazon S3 or Google Cloud Platform bucket to use as a target.
Set up a bucket
Learn how to set up a bucket for use with full packet captures. Before you can begin using a bucket, you must first enable destinations. Refer to the Amazon S3 or Google Cloud Storage documentation and follow the steps for those specific services. The Prove ownership step of the Bucket configuration displays.API
Dashboard
Validate a bucket
After the initial bucket set up, you need to confirm you own the bucket via an ownership challenge. After you validate your bucket, you can begin using it to collect full packet captures. The The response shows the filename of the ownership-challenge text file placed within the bucket. Find the file in your bucket and copy the contents of the file. Validate the bucket by inserting the copied text in the If the The Buckets tab displays a list of the buckets associated with your account. Refer to the Status column to see the status of your bucket configuration.API
bucket
field should be the URI of the bucket. For Amazon S3, the bucket
field is in the form s3://<bucket-name>/<directory>?region=<bucket-region>
, and for Google Cloud Storage the form is gs://<bucket-name>/<directory>
.Ownership challenge request example
Ownership challenge response example
ownership_text
below:Bucket validation example
Bucket validation response
status
shows success
, the bucket is configured and ready to use.Dashboard
- Success: The bucket is fully verified and ready to use.
- Pending: The challenge response was initiated but is pending verification. Bucket verification can take five to ten minutes to finish processing.
- Failed: The bucket could not be validated. If this occurs, verify your ownership information.
List configured buckets
View a list of all buckets configured on your account. The list of buckets associated with your account displays.API
Bucket list request example
Bucket list response example
Dashboard
To learn how to collect packet captures, refer to Collect packet captures.