How can I log byte-range information of Byte-Range fetches

0

Hi, I need to log S3 bucket access (PutObject, GetObject operations) history. One important feature I have to log in to the logging result is Byte-Range information of the GetObject operations when they are byte-range fetches.

I tried two logging options that AWS provides: S3 Server Access Logging and CloudTrail. However, neither of them actually stores Byte-Range information when I tested with byte-range fetch operations. I think this information should be delivered to the S3 server in the requests' HTTP header, but it seems like even CloudTrail does not store that part of the header.

Please let me know if there is anything I can try more or any solution to log this enough information.

Thanks!

1개 답변
1

Hi,

  1. Using S3 Server access logs, you can look for the Bytes Sent field in your GetObject operations. https://docs.aws.amazon.com/AmazonS3/latest/userguide/LogFormat.html

  2. Using Athena, you should able to analyze the contents of the logs. https://repost.aws/knowledge-center/analyze-logs-athena

Thank you,

AWS
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠