Updated on 2023-11-14 GMT+08:00

Resource Statistics

Log resource statistics are classified into read/write traffic, index traffic, raw log traffic, and log volume. The statistics are for reference only. You can also visualize log resource statistics in charts.

  • Read/Write: LTS charges for the amount of compressed log data read from and written to LTS. Generally, the log compression ratio is 5:1.
  • Indexing: Raw logs are full-text indexed by default for log search.
  • Log Volume: Space used for storing compressed logs, indexes, and copies is billed. The space is roughly the size of the raw logs.
  • Raw log traffic: size of raw logs

Statistics

Figure 1 Resource statistics

Resource statistics display log resource data. By default, log resource data of one week (from now) is displayed. You can select a time range as required.

There are three types of time range: relative time from now, relative time from last, and specified time. Select a time range as required.
  • From now: queries log data generated in a time range that ends with the current time to the second. For example, if the current time is 19:20:31 and 1 hour is selected as the relative time from now, the charts on the dashboard display the log data that is generated from 18:20:31 to 19:20:31.
  • From last: queries log data generated in a time range that ends with the exact current time to the minute. For example, if the current time is 19:20:31 and 1 hour is selected as the relative time from last, the charts on the dashboard display the log data that is generated from 18:00:00 to 19:00:00.
  • Specified time: queries log data that is generated in a specified time range.
  • The read and write traffic, index traffic, log volume, and raw log traffic in the selected time range are displayed.
  • Day-on-day changes in the selected time range are displayed. You can view the trend.
  • The traffic (or log volume) trend chart based on the selected time range is displayed. Each point in the trend chart indicates the data statistics in a certain period. The unit is KB, MB, or GB. The statistics are collected based on site requirements.

Resource Statistics Details

Resource statistics details display the top 100 log groups or log streams by read/write traffic, index traffic, and latest log volume. By default, the log groups or log streams are sorted by the latest log volume (GB). You can also sort the statistics by read/write or index traffic.

  • For a new log group or log stream, resource statistics will be collected in at least one hour.
  • Click the name of one of the top 100 log groups to query its log stream resource statistics.
  • Click to download the resource statistics of the target log groups and log streams.

    The downloaded resource statistics of the target log groups and log streams files are in .CSV format.

  • You can select a time range to collect statistics on resource details.
    There are three types of time range: relative time from now, relative time from last, and specified time. Select a time range as required.
    • From now: queries log data generated in a time range that ends with the current time to the second. For example, if the current time is 19:20:31 and 1 hour is selected as the relative time from now, the charts on the dashboard display the log data that is generated from 18:20:31 to 19:20:31.
    • From last: queries log data generated in a time range that ends with the exact current time to the minute. For example, if the current time is 19:20:31 and 1 hour is selected as the relative time from last, the charts on the dashboard display the log data that is generated from 18:00:00 to 19:00:00.
    • Specified time: queries log data that is generated in a specified time range.
  • The daily log volume (GB), daily index traffic (GB), and daily read/write traffic (GB) are displayed based on the selected time range.

    There are two display modes:

    • Table
    • Bar chart