This topic describes how to view the usage of Object Storage Service (OSS) resources in the OSS console.

Background information

You can view the following statistics about resource usage in the OSS console:
  • Basic Statistics: includes storage usage, used bandwidth, traffic usage, and the number of requests.
  • Ranking Statistics: includes PV, UV, and Referers (top 10) or IP addresses (top 10).
  • Region and Operator Statistics: includes source distribution and the Internet service provider (ISP).
  • API Statistics: includes HTTP method statistics and status codes.
  • Object Access Statistics: includes the statistics about object access.
Note Ranking Statistics, Region and Operator Statistics, API Statistics, and Object Access Statistics are available only in regions in the Chinese mainland and the China (Hong Kong), US (Virginia), US (Silicon Valley), and Singapore (Singapore) regions.

In this topic, Basic Statistics is used as an example to show how to view resource usage.

Procedure

  1. Log on to the OSS console.
  2. In the left-side navigation pane, click Buckets. On the Buckets page, click the name of the desired bucket.
  3. In the left-side navigation pane, choose Data Usage > Basic Statistics.
    On the Basic Statistics tab, the following charts are displayed: Buckets, Used Bandwidth, Traffic Usage, and Requests per Hour.
    • Buckets: This chart displays the storage usage of the bucket in each period.
      Basic data type Description
      Standard-Actual Storage Usage The size of Standard objects in the bucket.
      Storage Usage The actual size of objects of all storage classes in the bucket.
      Billed Storage Usage The billed storage capacity of the bucket.
    • Used Bandwidth: This chart displays the bandwidth that is used by the bucket in each period.
      Basic data type Description
      VPC Inbound The bandwidth that is used when data is uploaded to OSS over Alibaba Cloud Virtual Private Cloud (VPC).
      VPC Outbound The bandwidth that is used when OSS data is accessed or downloaded over Alibaba Cloud VPC.
      CDN Inbound The bandwidth that is used when data is uploaded to OSS by using CDN.
      CDN Outbound The bandwidth that is used when OSS data is accessed or downloaded by using CDN.
      CRR Inbound The bandwidth that is used when data is replicated to the destination bucket by using cross-region replication (CRR) over the Internet.
      CRR Outbound The bandwidth that is used when data is replicated from the source bucket by using CRR over the Internet.
      Inbound over the Internet The bandwidth that is used when data is uploaded to OSS over the Internet.
      Outbound over the Internet The bandwidth that is used when OSS data is accessed or downloaded over the Internet.
      Outbound over Internal Networks The bandwidth that is used when OSS data is accessed or downloaded over internal networks.
      Inbound over Internal Networks The bandwidth that is used when data is uploaded to OSS over internal networks.
    • Traffic Usage: This chart displays the traffic usage of the bucket in each period.
      Basic data type Description
      VPC Inbound The traffic that is generated when data is uploaded to OSS over Alibaba Cloud VPC.
      VPC Outbound The traffic that is generated when OSS data is accessed or downloaded over Alibaba Cloud VPC.
      CDN Inbound The traffic that is generated when data is uploaded to OSS by using CDN.
      CDN Outbound The traffic that is generated when OSS data is accessed or downloaded by using CDN.
      CRR Inbound The traffic that is generated when data is replicated to the destination bucket by using CRR over the Internet.
      CRR Outbound The traffic that is generated when data is replicated from the source bucket by using CRR over the Internet.
      Inbound over the Internet The traffic that is generated when data is uploaded to OSS over the Internet.
      Outbound over the Internet The traffic that is generated when OSS data is accessed or downloaded over the Internet.
      Outbound over Internal Networks The traffic that is generated when OSS data is accessed or downloaded over internal networks.
      Inbound over Internal Networks The traffic that is generated when data is uploaded to OSS over internal networks.
    • Requests per Hour: This chart displays the number of requests to access the bucket per hour. The curves for 5XX Error, PUT Request, and GET Request are displayed.
      • 5XX Error

        This curve records the number of requests for which a 5xx HTTP status code is returned, such as 501, 502, or 503.

      • PUT Request
        Operation Description
        PutBucket Creates a bucket.
        GetBucket (ListObject) and GetBucketV2 (ListObjectsV2) Lists all objects.
        PutBucketACL Configures the access control list (ACL) for a bucket.
        PutBucketInventory Configures inventories for a bucket.
        DeleteBucketInventory Deletes specific inventories that are configured for a bucket.
        PutBucketLogging Enables logging for a bucket.
        DeleteBucketLogging Disables logging for a bucket.
        PutBucketWebsite Enables static website hosting for a bucket and configures redirection rules for the bucket.
        DeleteBucketWebsite Disables static website hosting for a bucket and deletes the redirection rules configured for the bucket.
        PutBucketReferer Configures the Referer whitelist and specifies whether an empty Referer field is allowed.
        PutBucketLifecycle Configures lifecycle rules for a bucket.
        CommitTransition Converts the storage class of an object based on lifecycle rules. Example: You can convert the storage class to IA, Archive, or Cold Archive.
        ExpireObject Deletes an object by using lifecycle rules.
        DeleteBucketLifecycle Deletes lifecycle rules for a bucket.
        DeleteBucket Deletes a bucket.
        PutObject Uploads an object.
        CopyObject Copies objects to the same bucket or another bucket within the same region.
        AppendObject Uploads an object by appending the content of the object to an existing object.
        DeleteObject Deletes a single object.
        DeleteMultipleObjects Deletes multiple objects.
        PutObjectACL Configures the ACL for an object.
        PostObject Uploads an object by using an HTML form.
        PutSymlink Creates a symbolic link.
        RestoreObject Restores an Archive object.
        InitiateMultipartUpload Initiates a multipart upload task.
        UploadPart Uploads an object by part based on the specified object name and the upload ID.
        AbortMultipartUpload Cancels a multipart upload task and deletes uploaded parts.
        UploadPartCopy Copies an object by part.
        PutBucketReplication Configures data replication rules for a bucket.
        DeleteBucketReplication Stops a data replication task for a bucket and deletes the data replication rules configured for the bucket.
        PutBucketCors Adds cross-origin resource sharing (CORS) configurations for a bucket.
        DeleteBucketCors Deletes CORS configurations for a bucket.
        CompleteMultipartUpload Completes a multipart upload task.
        InitiateBucketWorm Creates a retention policy for a bucket.
        AbortBucketWorm Deletes an unlocked retention policy.
        CompleteBucketWorm Locks a retention policy.
        ExtendBucketWorm Extends the retention period (days) of objects in a bucket for which a retention policy is locked.
        PutBucketVersioning Enables versioning for a bucket.
        PutBucketPolicy Configures a bucket policy.
        DeleteBucketPolicy Deletes a bucket policy.
        PutBucketTags Adds tags to or modifies the tags of a bucket.
        DeleteBucketTags Deletes the tags of a bucket.
        PutBucketEncryption Configures a data encryption rule for a bucket.
        DeleteBucketEncryption Deletes a data encryption rule configured for a bucket.
        PutBucketRequestPayment Enables pay-by-requester for the bucket.
        PutObjectTagging Adds tags to or modifies the tags of an object.
        DeleteObjectTagging Deletes the tags of an object.
        PutLiveChannel Creates a LiveChannel.
        DeleteLiveChannel Deletes a specified LiveChannel.
        PutLiveChannelStatus Switches the status of a LiveChannel.
        PostVodPlaylist Generates a playlist used for video on demand (VOD) for a LiveChannel.
      • Get Request
        Operation Description
        GetBucketAcl Queries the ACL of a bucket.
        GetBucketLocation Queries the data center where a bucket is located.
        GetBucketInfo Queries the information about a bucket.
        GetBucketLogging Queries the logging configurations of a bucket.
        GetBucketWebsite Queries the static website hosting configurations of a bucket.
        GetBucketReferer Queries the Referer configurations of a bucket.
        GetBucketLifecycle Queries the lifecycle rules configured for a bucket.
        GetBucketReplication Queries the data replication rules configured for a bucket.
        GetBucketReplicationLocation Queries the regions of the destination bucket to which data can be replicated.
        GetBucketReplicationProgress Queries the progress of data replication of a bucket.
        GetBucketInventory Queries the specified inventory configured for a bucket.
        ListBucketInventory Queries all inventories configured for a bucket.
        GetObject Downloads an object.
        HeadObject Queries all metadata of an object.
        GetObjectMeta Queries part of metadata of an object.
        GetObjectACL Queries the ACL of an object.
        GetSymlink Queries a symbolic link.
        ListMultipartUploads Lists all ongoing multipart upload tasks.
        ListParts Lists the uploaded parts.
        UploadPartCopy Copies an object by part.
        GetBucketcors Queries the CORS rules configured for a bucket.
        GetBucketWorm Queries the retention policies configured for a bucket.
        GetBucketVersioning Queries the versioning status of a bucket.
        GetBucketVersions(ListObjectVersions) Queries the versions of all objects in a bucket.
        GetBucketPolicy Queries the bucket policies configured for a bucket.
        GetBucketReferer Queries the Referer configurations of a bucket.
        GetBucketTags Queries the tags of a bucket.
        GetBucketEncryption Queries the encryption configurations of a bucket.
        GetBucketRequestPayment Queries the pay-by-requester configurations of a bucket.
        SelectObject Scans an object.
        GetObjectTagging Queries the tags of an object.
        ListLiveChannel Queries the list of LiveChannels.
        GetLiveChannelInfo Queries the configurations of the specified LiveChannel.
        GetLiveChannelStat Queries the ingestion status of the specified LiveChannel.
        GetLiveChannelHistory Queries the ingestion history of the specified LiveChannel.
        GetVodPlaylist Queries the playlist that is generated by the streams ingested to the specified LiveChannel within the specified time range.
  4. Specify a time range at the top of the charts.
  5. View the required data in the charts. In the following example, the Requests per Hour chart is used to show how to view the basic data items in a chart.
    By default, the following basic data items are displayed at the bottom of the Requests chart in different colors: 5XX Error, PUT Request, and GET Request. You can click a data item to hide the curve of this item in the chart. The names of hidden data items are displayed in gray. For example, if you click 5XX Error to hide this data item, only the PUT Request and GET Request curves are displayed in the chart.