Server Access Logging

Understand how access logs can be managed using S3 server access logging.

What’s server access logging?

Server access logging in AWS S3 helps keep a record of the access made to a bucket and its objects.

An access request can be made by a user or an AWS service. Using server access logs, these access requests are stored in the form of log files, which can be analyzed whenever required.

Access logs contain information about the requester, bucket name, request time, request ID, operation, requester IP, response status, error code, and so on.

Server access logging is disabled by default, and logs are written inside a bucket. This bucket must be created before we enable server access logs for any bucket. It’s recommended to create a separate dedicated bucket for logging purposes.

Get hands-on with 1200+ tech skills courses.