

# Amazon S3 Storage Lens for Tables metrics and dimensions

To send Amazon S3 Storage Lens for Tables metrics to CloudWatch, you must enable the CloudWatch publishing option within Amazon S3 Storage Lens for Tables advanced metrics. After advanced metrics are enabled, you can use [CloudWatch dashboards](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Dashboards.html) to monitor your metrics alongside other application metrics and create a unified view of your operational health. You can use dimensions to filter your metrics in CloudWatch by organization, account, table bucket, storage class, Region, and metrics configuration ID.

For more information about Amazon S3 Storage Lens for Tables metrics and dimensions in CloudWatch, see the following topics.

**Topics**
+ [Metrics](#s3-tables-storage-lens-cloudwatch-metrics)
+ [Dimensions](#s3-tables-storage-lens-cloudwatch-dimensions)

## Metrics
<a name="s3-tables-storage-lens-cloudwatch-metrics"></a>

Amazon S3 Storage Lens for Tables metrics are available as metrics within CloudWatch, in the `AWS/S3/Tables/Storage-Lens` namespace. In Amazon S3 Storage Lens for Tables, metrics are aggregated and stored only in the designated home Region. The metrics are also published to CloudWatch in the home Region that you specify in the configuration. 

**Note**  
The valid statistic for Amazon S3 Storage Lens for Tables metrics in CloudWatch is Average. For more information about statistics in CloudWatch, see [CloudWatch statistics definitions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html) in the *Amazon CloudWatch User Guide*.

### Granularity of Amazon S3 Storage Lens for Tables metrics in CloudWatch
<a name="s3-tables-storage-lens-cloudwatch-metrics-granularity"></a>

Amazon S3 Storage Lens for Tables offers metrics at organization, account, table bucket, namespace, and table granularity. Amazon S3 Storage Lens for Tables publishes metrics at all of these levels to CloudWatch.

For more information about the granularity of Amazon S3 Storage Lens for Tables metrics available in CloudWatch, see the following list:
+ **Organization** – Metrics aggregated across the member accounts in your organization. Amazon S3 Storage Lens for Tables publishes metrics for member accounts to CloudWatch in the management account. 
  + **Organization and account** – Metrics for the member accounts in your organization. 
  + **Organization and table bucket** – Metrics for table buckets in the member accounts of your organization.
+ **Account** (Non-organization level) – Metrics aggregated across the table buckets in your account. 
+ **table bucket** (Non-organization level) – Metrics for a specific table bucket. In CloudWatch, Amazon S3 Storage Lens for Tables publishes these metrics to the AWS account that created the configuration. Amazon S3 Storage Lens for Tables publishes these metrics only for non-organization configurations.
+ **Namespace** (Non-organization level) – Metrics for a specific namespace within a table bucket. Amazon S3 Storage Lens for Tables publishes these metrics only for non-organization configurations.
+ **Table** (Non-organization level) – Metrics for a specific table within a namespace. Amazon S3 Storage Lens for Tables publishes these metrics only for non-organization configurations.

## Dimensions
<a name="s3-tables-storage-lens-cloudwatch-dimensions"></a>

When Amazon S3 Storage Lens for Tables sends data to CloudWatch, dimensions are attached to each metric. Dimensions are categories that describe the characteristics of metrics. You can use dimensions to filter the results that CloudWatch returns. 

For example, all Amazon S3 Storage Lens for Tables metrics in CloudWatch have the `configuration_id` dimension. You can use this dimension to differentiate between metrics associated with a specific configuration. The `organization_id` identifies organization-level metrics. For more information about dimensions in CloudWatch, see [Dimensions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension) in the *CloudWatch User Guide*. 

Different dimensions are available for Amazon S3 Storage Lens for Tables metrics depending on the granularity of the metrics. For example, you can use the `organization_id` dimension to filter organization-level metrics by the AWS Organizations ID. However, you can't use this dimension for table bucket and account-level metrics.

To see which dimensions are available for your Amazon S3 Storage Lens for Tables configuration, see the following table.


|  **Dimension**  |  **Description**  |  **table bucket**  | **Account** |  **Namespace**  |  **Table**  |  **Organization**  |  **Organization and table bucket**  |  **Organization and account**  | 
| --- | --- | --- | --- | --- | --- | --- | --- | --- | 
| configuration\_id | The dashboard name for the Amazon S3 Storage Lens for Tables configuration reported in the metrics | Yes | Yes | Yes | Yes | Yes | Yes | Yes | 
| metrics\_version | The version of the metrics. The metrics version has a fixed value of `1.0`. | Yes | Yes | Yes | Yes | Yes | Yes | Yes | 
| organization\_id | The AWS Organizations ID for the metrics | No | No | No | No | Yes | Yes | Yes | 
| aws\_account\_number | The AWS account that's associated with the metrics | Yes | Yes | Yes | Yes | No | Yes | Yes | 
| aws\_region | The AWS Region for the metrics | Yes | Yes | Yes | Yes | Yes | Yes | Yes | 
| table\_bucket\_name | The name of the table bucket that's reported in the metrics | Yes | No | Yes | Yes | No | Yes | No | 
| table\_namespace | The namespace within the table bucket that's reported in the metrics | No | No | Yes | Yes | No | No | No | 
| table\_name | The name of the table that's reported in the metrics | No | No | No | Yes | No | No | No | 
| storage\_class | The storage class for the table bucket that's reported in the metrics | Yes | Yes | Yes | Yes | Yes | Yes | Yes | 
| int\_access\_tier | The S3 Intelligent-Tiering access tier for the metrics. This dimension is present only for metrics that are scoped to an Intelligent-Tiering access tier. | Yes | Yes | Yes | Yes | Yes | Yes | Yes | 
| record\_type | The granularity of the metrics: ORGANIZATION, ACCOUNT, BUCKET, NAMESPACE, TABLE | ![](https://docs.aws.amazon.com/AmazonS3/latest/userguide/images/icon-yes.png) BUCKET | ![](https://docs.aws.amazon.com/AmazonS3/latest/userguide/images/icon-yes.png) ACCOUNT | ![](https://docs.aws.amazon.com/AmazonS3/latest/userguide/images/icon-yes.png) NAMESPACE | ![](https://docs.aws.amazon.com/AmazonS3/latest/userguide/images/icon-yes.png) TABLE | ![](https://docs.aws.amazon.com/AmazonS3/latest/userguide/images/icon-yes.png) ORGANIZATION | ![](https://docs.aws.amazon.com/AmazonS3/latest/userguide/images/icon-yes.png) BUCKET | ![](https://docs.aws.amazon.com/AmazonS3/latest/userguide/images/icon-yes.png) ACCOUNT | 