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

Background information

You can view the usage of the following resources in the OSS console:
  • Basic Statistics: includes storage usage, used bandwidth, and traffic usage.
  • Ranking Statistics: includes PV, UV, and Refer (Top 10) or IP (Top 10).
  • Region and Operator Statistics: includes source distribution and Internet Service Provider (ISP).
  • API Statistics: includes HTTP method statistics and status codes.
  • Object Access Statistics: includes the statistics for object access.
Note Ranking Statistic, Region and Operator Statistics, API Statistics, and Object Access Statistics are supported only in regions in China and the US (Virginia), US (Silicon Valley), and Singapore regions.

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

Procedure

  1. Log on to the OSS console.
  2. Click Buckets, and then click the name of the target bucket.
  3. In the left-side navigation pane, choose Data Usage > Basic Statistics.
    On the Basic Statistics tab, charts of Buckets, Used bandwidth, Traffic usage, and Requests are displayed.
    • Buckets: The storage usage of the bucket for each period is displayed in the chart.
      Basic data item 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: The bandwidth used by the bucket within each period is displayed in this chart.
      Basic data item 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 Content Delivery Network (CDN).
      CDN Outbound The bandwidth that is used when OSS data is accessed or downloaded by using CDN.
      CRR Inbound over Internet The bandwidth that is used when data is replicated to the destination bucket by using Cross-region replication (CRR) over the Internet.
      CRR Outbound over Internet The bandwidth that is used when data is replicated from the source bucket by using CRR over the Internet.
      CRR Inbound over Internal Networks The bandwidth that is used when data is replicated to the destination bucket by using CRR over interval networks.
      CRR Outbound over Internal Networks The bandwidth that is used when data is replicated from the source bucket by using CRR over internal networks.
      Inbound over Internet The bandwidth that is used when data is uploaded to OSS over the Internet.
      Outbound over 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: The traffic usage of the bucket within each period is displayed in this chart.
      Basic data item 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 over Internet The traffic that is generated when data is replicated to the destination bucket by using CRR over the Internet.
      CRR Outbound over Internet The traffic that is generated when data is replicated from the source bucket by using CRR over the Internet.
      CRR Inbound over Internal Networks The traffic that is generated when data is replicated to the destination bucket by using CRR over internal networks.
      CRR Outbound over Internal Networks The traffic that is generated when data is replicated from the source bucket by using CRR over internal networks.
      Inbound over Internet The traffic that is generated when data is uploaded to OSS over the Internet.
      Outbound over 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: The number of requests that are initiated per hour to access the bucket is displayed in this chart. The statistics 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, including 501, 502, and 503.

      • PUT Request
        API request Operation
        PutBucket Creates a bucket.
        GetService(ListBuckets) Lists all buckets.
        GetBucket (ListObject) or GetBucketV2 (ListObjectsV2) Lists all objects.
        PutBucketACL Configures the access control list (ACL) of a bucket.
        PutBucketInventory Configures inventories for a bucket.
        DeleteBucketInventory Deletes a specified inventory task 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 redirection rules for the bucket.
        PutBucketReferer Configures the Referer whitelist and specifies whether an empty Referer field is allowed.
        PutBucketLifecycle Configures lifecycle rules for a bucket.
        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 object to an existing object.
        DeleteObject Deletes a single object
        DeleteMultipleObjects Deletes multiple objects.
        PutObjectACL Configures the ACL of 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 objects by part.
        PutBucketReplication Configures cross-region replication (CRR) rules for a bucket.
        DeleteBucketReplication Stops CRR tasks for a bucket by deleting the CRR 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 bucket policies.
        DeleteBucketPolicy Deletes bucket policies.
        PutBucketTags Adds tags to a bucket 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 an object or modifies the tags of an object.
        DeleteObjectTagging Deletes the tags of an object.
        PutLiveChannel Creates a LiveChannel.
        DeleteLiveChannel Deletes the specified LiveChannel.
        PutLiveChannelStatus Switches the state of a LiveChannel.
        PostVodPlaylist Generates a playlist used for broadcasting for a LiveChannel.
      • GET Request
        API request Operation
        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 hotlink protection configurations of a bucket.
        GetBucketLifecycle Queries the lifecycle rules configured for a bucket.
        GetBucketReplication Queries the CRR rules configured for a bucket.
        GetBucketReplicationLocation Queries the regions in which the destination bucket can be located.
        GetBucketReplicationProgress Queries the progress of a CRR task that is performed for a bucket.
        GetBucketInventory Queries the specified inventory task configured for a bucket.
        ListBucketInventory Queries all inventory tasks configured for a bucket.
        GetObject Downloads an object.
        CopyObject Copies 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 objects 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 hotlink protection 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 generated during the specified period of time for the specified LiveChannel.
  4. Set a time range at the top of the charts.
  5. View the required data in the charts. In the following example, the Requests chart is used to describe how to view the basic data items in a chart.
    By default, the following three 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.