Hello! You need to opt in to request metrics in the console, via the REST API, or via the AWS CLI. To opt in to request metrics for S3 using the console, you need to do the following:
- Sign in to the AWS Management Console and open the Amazon S3 console.
- In the Buckets list, choose the name of the bucket that contains the objects you want request metrics for.
- Choose the Metrics tab.
- Under Bucket metrics, choose View additional charts.
- Choose the Request metrics tab.
- Choose Create filter.
- In the Filter name box, enter your filter name. NOTE: Names can only contain letters, numbers, periods, dashes, and underscores. We recommend using the name EntireBucket for a filter that applies to all objects.
- Under Filter scope, choose This filter applies to all objects in the bucket. (You can also define a filter so that the metrics are only collected and reported on a subset of objects in the bucket. For more information, see Creating a metrics configuration that filters by prefix, object tag, or access point.)
- Choose Save changes.
- On the Request metrics tab, under Filters, choose the filter that you just created.
- After about 15 minutes, CloudWatch begins tracking these request metrics. You can see them on the Request metrics tab. You can see graphs for the metrics on the Amazon S3 or CloudWatch console.
For more information or alternative ways of opting in via the REST API or AWS CLI, see Creating a CloudWatch metrics configuration for all the objects in your bucket. It's also helpful to be aware of the CloudWatch metrics configurations and considerations.
Hope this helps!
- asked 2 months ago
- asked 9 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 4 months ago
- How do I change object ownership for an Amazon S3 bucket when the objects are uploaded by other AWS accounts?AWS OFFICIALUpdated a year ago
- EXPERTpublished 2 months ago
- EXPERTpublished 4 months ago