How to get DataTransfer for each S3 Bucket.
You can use
1. Flex report to get the data transfer for each S3 bucket.
{
"sqlStatement": "SELECT timeInterval_Month AS Month, lineItem_ResourceId AS LineItem_ResourceId, product_ProductName AS Product_ProductName, product_productFamily AS Product_productFamily, SUM(lineItem_UnblendedCost) AS SUM_lineItem_UnblendedCost FROM AWS_CUR WHERE (product_productFamily IN ('Data Transfer')) AND (product_ProductName IN ('Amazon Simple Storage Service')) GROUP BY timeInterval_Month, lineItem_ResourceId, product_ProductName, product_productFamily ORDER BY SUM_lineItem_UnblendedCost DESC",
"needBackLinkingForTags": true,
"dataGranularity": "MONTHLY",
"timeRange": {
"last": 1,
"excludeCurrent": true
},
"limit": -1
}
2. Use the S3 report to get the data Transfer cost per Bucket.
Note: Use Transfer Cost under Y-Axis and S3 Buckets under Category.
Refer: https://techdocs.broadcom.com/us/en/vmware-tanzu/cloudhealth/tanzu-cloudhealth/saas/tnz-cloudhealth/working-with-reports-and-recommendation-of-tanzu-cloudhealth-cost-reports.html#s3-cost