how to get bucket log

0

I'd like to have the bucket logs. I haven't set up any logging, but is there a way to get the bucket logs

jeun
已提问 7 个月前185 查看次数
2 回答
1

Hello.

Enable Server Access Logging for Amazon S3 Bucket:

  • Log in to AWS Management Console and navigate to the Amazon S3 service.
  • Select the bucket for which you want to enable access logging.
  • Go to the Properties section of the bucket.
  • Under Server access logging, click on Edit.
  • Turn on server access logging. You'll need to specify a target bucket where the logs will be stored. This can be the same bucket or a different one. It's generally a good practice to use a separate bucket for logs to keep things organized. https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerLogs.html

Regards, Andrii

profile picture
专家
已回答 7 个月前
0

Coud you please accept the answer if it helped for you. Thanks)

profile picture
专家
已回答 7 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则