The usage statistics feature allows you to query the usage of resources, such as the streaming bandwidth and traffic, the number of ingest streams, the transcoding length, and the number of live recording channels. This topic describes how to view the usage of resources.

Time granularity

You can query resource usage in the ApsaraVideo Live console or by calling API operations. However, the maximum time range that you can query and the maximum period of time within which historical data is available are different. The following table describes the maximum time range to query, the period within which historical data is available, and data delay.
  • In the ApsaraVideo Live console:
    Time granularity Maximum time range to query Historical data available Data delay
    5 minutes 3 days 93 days 15 minutes
    1 hour 31 days 180 days 4 hours
    1 day 31 days 180 days 04:00 on the next day
  • Call API operations:
    Time granularity Maximum time range to query Historical data available Data delay
    5 minutes 3 days 93 days 15 minutes
    1 hour 31 days 186 days 4 hours
    1 day 366 days 366 days 04:00 on the next day
  1. Log on to the ApsaraVideo Live console.
  2. In the left-side navigation pane, click Statistics-Usage.
  3. View the usage of resources.
    001
    You can select a domain name, a region, and a time period to view the usage of resources on the tabs described in the following table. The time period can be today, yesterday, last seven days, last 30 days, or a custom time period.
    Note
    • A time granularity of five minutes can be selected for a time period of up to three days.
    • A time granularity of one hour or one day can be selected for a time period of up to one month.
    Tab Description
    Streaming Bandwidth/Traffic Displays the traffic and bandwidth usage of a specified domain name.
    Ingest Endpoints Displays the number of ingest streams of a specified domain name.
    Note The number of concurrent streams equals the total number of upstream streams and transcoded streams.
    Transcoding Duration Displays the transcoding length of different resolutions.
    Note For more information about the transcoding specifications in the statistics of transcoding lengths, see Fields in transcoding specifications.
    Live Stream Recording Displays the number of live recording channels and container format conversions for a specified domain name.
    Snapshots Displays the number of snapshots for a specified domain name.
    Live Stream Moderation Displays the number of live stream moderation jobs.
    Time Shifting Displays the duration and data volume of time shifting for a specified domain name.
    DRM Calls Displays the number of Digital Rights Management (DRM) requests of a specified domain name.

Fields in transcoding specifications

The transcoding specification is a string that consists of the resolution, prefix, and suffix fields. Fields are separated by underscores (_). The resolution field is required, whereas the prefix and suffix fields are optional.

  • Resolution
    • LD: low definition.
    • SD: standard definition.
    • HD: high definition.
    • 2K: 2K resolution.
    • 4K: 4K resolution.
    • EX: resolution greater than 4K.
  • Codec prefix
    • Null: H.264.
    • 265: H.265.
  • Profile suffix
    • Null: Narrowband HD™ 1.0 transcoding.
    • S: standard quality transcoding.
    • NBHD15: Narrowband HD™ 1.5 transcoding.
    • NBHD2: Narrowband HD™ 2.0 transcoding.
    • WM: watermark-based transcoding.
    • CASTER: streaming panel-based transcoding.
  • Output frame rate suffix
    • Null: standard output frame rate. The standard output frame rate is no more than 30 frames per second.
    • OFH: high output frame rate. A high output frame rate is greater than 30 frames per second.

Examples:

  • HD: H.264, high definition, Narrowband HD™ 1.0 transcoding, and standard output frame rate.
  • 265_SD_NBHD2: H.265, standard definition, Narrowband HD™ 2.0 transcoding, and standard output frame rate.
  • LD_S_OFH: H.264, low definition, standard quality transcoding, and high output frame rate.

What to do next

You can export usage data by performing the following steps:

  1. Click the Details tab.
  2. Click Create Export Task. 002
  3. Enter the task name, select the query time range, and then select the type of data that you want to export.
    Note If you select By Domain, you can select a maximum of 100 domain names.
  4. Click OK.