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 Buckets, Traffic Usage, and Requests per Hour.
  • Ranking Statistic: includes PV/UV and Rankings.
  • Region and Operator Statistics: includes Source Distribution and 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, Traffic Usage, and Requests per Hour are displayed.
    • Buckets

      The storage usage of the bucket for each period is displayed in this chart. The following table describes the data items 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.
    • Traffic Usage

      The traffic usage of the bucket within each period is displayed in this chart.

      Basic data item Description
      CDN Inbound The traffic that is generated when you use CDN to upload data to OSS.
      CDN Outbound The traffic that is generated when you use CDN to download data from OSS or view data in OSS.
      Internet Inbound The traffic that is generated when you upload data to OSS over the Internet.
      Internet Outbound The traffic that is generated when OSS data is accessed or downloaded over the Internet.
      Intranet Inbound The traffic that is generated when you upload data to OSS over the internal network.
      Intranet Outbound The traffic that is generated when OSS data is accessed or downloaded over the internal network.
      Cross-region Replication The traffic that is generated when you use cross-region replication (CRR) to copy data from the source bucket to the destination bucket.
    • Requests per Hour

      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 operation Action
        PutBucket Creates a bucket.
        GetService(ListBuckets) Lists all buckets.
        GetBucket (ListObject) and GetBucketV2 (ListObjectsV2) Lists all objects.
        PutBucketACL Configures the access control list (ACL) of a bucket.
        PutBucketInventory Configure inventories for a bucket.
        DeleteBucketInventory Deletes a specific 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.
        DeleteBucketWebsite Disables static website hosting for a 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 configured 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 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 Disables CRR for a bucket and deletes the CRR rules configured for the bucket.
        PutBucketCors Adds cross-origin resource sharing (CORS) configurations for a bucket.
        DeleteBucketCors Deletes the CORS configurations of a bucket.
        CompleteMultipartUpload Completes a multipart upload task.
        InitiateBucketWorm Configures a retention policy for a bucket.
        AbortBucketWorm Deletes an unlocked retention policy.
        CompleteBucketWorm Locks a retention policy.
        ExtendBucketWorm Extends the retention period 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 a bucket or modifies the tags of a bucket.
        DeleteBucketTags Deletes the tags of a bucket.
        PutBucketEncryption Configure 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 status of a LiveChannel.
        PostVodPlaylist Generates a playlist used for broadcasting for a LiveChannel.
      • GET Request
        API operation Action
        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) Lists the versions of all objects in a bucket.
        GetBucketPolicy Queries the 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 all LiveChannels that belongs to a user.
        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 a 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 per Hour 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 per Hour 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.