An Amazon S3 bucket can be configured to create access log records for the requests made against it. An access log record contains details about the request such as the request type, the resource with which the request worked, and the time and date that the request was processed. Server access logs give bucket owners insight into the nature of requests made by clients not under their control.
By default, server access logs are not collected for a bucket.
With S3 Browser you can easily turn on Amazon S3 Bucket Logging.
To enable Amazon S3 Bucket Logging:
Select the Bucket you want to enable logging for and click Buckets -> Edit Logging Settings.
Bucket Logging Settings Dialog allows you to specify logging settings.
Turn on Enable logging for bucket [bucketname] checkbox. Then you need to specify Target Bucket and Target Prefix.
Target Bucket - defines the bucket, where log files will be stored. Target Bucket should be in the same region as Source Bucket. If you want to use the same bucket for log files, we recommend to specify Target Prefix, including trailing slash, to keep log files in subdirectory and avoid mixing log files with other files.
You may select existing bucket from drop-down list, or specify new bucket name and it will be created automatically.
Target Prefix - defines a prefix for the keys that the delivered log files will be stored under. For example if you want to use one bucket to keep log files from multiple source buckets, you may use Target Prefix to define subdirectories for each buckets' log files, i.e. Bucket1-logs/, Bucket2-logs/.
Click OK to apply bucket logging settings.
Click the OK button to save bucket logging settings.
Please note, that log files does not appear immediately. There is some delay between the time when request was made and when it will appear in the logs.
"Amazon Web Services", "AWS", "Amazon S3", "Amazon Simple Storage Service", "Amazon CloudFront", "CloudFront", the "Powered by Amazon Web Services" logo are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.