How to configure S3 server access logging
This section describes about how to record access logging for access to your bucket because S3 server access logging is disabled, by default, and S3 does not store server access in the log files. We will configure server access logging over an S3 bucket and verify that log files are generated when we access the S3 website.
Getting ready
If you run a web server, you may want to see and analyze the web server's access log files for the access to your website. To configure server access logging, you need to enable S3 Server Access Logging for your bucket on your own because it is not enabled by default. You can choose two ways to store access log objects in an S3 bucket, as follows:
- Create another bucket for ...
Get Amazon S3 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.