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.
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: