Difference in size of S3 bucket between Storage Lens and summing export metrics

0

Using a Storage Lens export metrics csv file, if I group the files by a record type of 'PREFIX' and 'BUCKET', and then take the sum of the StorageBytes for each PREFIX in a BUCKET, this number is much larger than what is shown on the s3 Storage Lens console for the size of each bucket. I am wondering if this is due to compression of files on s3?

Kyle
asked 4 months ago189 views
1 Answer
0

Kyle,

The difference in the reported size of your S3 bucket between Storage Lens and the sum of export metrics could be due to a few factors. It might be related to the compression of files in S3, as compressed files will use less storage than their original size. Additionally, Storage Lens may aggregate or approximate data differently compared to the raw data in your CSV file. Ensure that the time frames and filters you're comparing are consistent. If discrepancies persist, consulting AWS documentation or reaching out to AWS support for clarification could provide more insights.

Have a nice day!

profile picture
answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions