You need to enable JavaScript to run this app.
Torch Log Service

Torch Log Service

Copy page
Download PDF
CloudLens for TOS
CloudLens for TOS
Copy page
Download PDF
CloudLens for TOS
This topic introduces the CloudLens for TOS features provided by the TLS app store for log observation of cloud products.​
Feature description​
The CloudLens for TOS log application provides log observability for cloud products built on TOS buckets, supporting log analysis and data pivot.​
Both log analysis and data pivot serve to monitor and analyze TOS data, offering visual statistics on bucket operations and asset data. The comparison of their capabilities is described in the following chart. You can choose the appropriate method to view bucket usage as needed, helping with operational monitoring and maintenance decisions. For billing details, see Billing notes.​
  • Comparison: log analysis vs. pivot dashboards​
  • ​
    Dimension​
    Features overview​
    Collect access detail logs of the storage bucket in real time with second-level reporting frequency to facilitate metric retrieval and analysis. With high timeliness with near real-time data, it is suitable for scenarios like troubleshooting and access auditing where immediate results are needed.​
    Configure the bucket metric collection range on demand, aggregate storage and access metrics daily, and support quick view, trends, distribution, and Top N analysis. Unified observation across multiple buckets, ideal for scenarios requiring long-term, multidimensional statistics, such as usage comparison between buckets, cost allocation, and hotspot prefix analysis.​
    Time dimension​
    Real-time collection (the storage period defaults to 7 days and can be customized)​
    Aggregated daily (retention period defauls to 450 days and modification is not supported)​
    Data range​
    Bucket level.​
    • Region / Storage type / Bucket level.​
    • Advanced features support prefix dimension.​
    Chart description​
    Resource usage, heat statistics, access analysis, security analysis, and query and analysis.​
    Total storage, object count, bucket count, current/historical version bytes, unmerged shard bytes (advanced features also include upload/delete byte counts), and more.​
    Data source/implementation​
    Access detail logs for TOS API requests can be viewed directly in the console.​
    Pivot dashboards are required.​
    Feature positioning​
    Traffic statistics for TOS API requests, troubleshooting, exception analysis, and access audit.​
    Analyze growth trends and optimize costs​
    ​
  • Use cases​
  • ​
    Use cases​
    Description​
    • Quickly view recent usage, traffic, requests, bandwidth, and status codes for a bucket or all buckets.​
    • Monitor daily operations and quickly troubleshoot sudden spikes in traffic/requests or exceptions in status codes.​
    • Only overview-level data is needed; no additional configuration is required.​
    • Since the data is derived from access logs rather than actual measurements, it is not suitable for precise reconciliation or billing.​
    • Manage storage assets in detail, optimize costs, analyze capacity growth trends, and identify the fastest-growing buckets or prefixes.​
    • Perform multidimensional statistics by region, storage type, bucket, or prefix (prefix dimension requires advanced features).​
    • Monitor version bytes, unmerged fragments, and uploaded/deleted bytes to manage assets.​
    • Advanced features incur fees.​
    ​
Log analysis​
The CloudLens for TOS log analysis dashboard presents essential telemetry data for object storage buckets, including resource usage, access trends, traffic analysis, and security analysis. For details on log fields, see Log analysis fields.​
The log analysis dashboard displays key monitoring data such as bucket usage and traffic, and supports running query and analysis statements to analyze access logs generated during TOS usage.​
​​​
Log analysis dashboard features:​
​
Log analysis​
Chart description​
Feature purpose​
View bucket traffic trends, request trends, bucket traffic/bandwidth top 1000, and bucket request top 1000.​
  • The trend chart helps analyze overall traffic and request patterns.​
  • The top chart helps you to quickly identify the target bucket after confirming an abnormal time window.​
Display Operation statistics for the bucket, object size distribution, global access QPS, QPS grouped by bucket, access data volume by prefix, percentage of Top 5 prefix access data volume, read/write ratio by bandwidth, read/write ratio by request count, directory access heat, and prefix metric queries​
  • Quickly find the directory with the highest heat​
  • Quickly identify main access types and exception operation types.​
  • Quickly analyze the access heat distribution of large and small files.​
Display the followings: upload volume, download volume, delete volume, PV, UV, upload volume top 1000, download volume top 1000, delete volume top 1000, refer request top 1000, client access top 1000, status code trends, PV/UV trends, error access count, data outbound/external outbound, mirror back-to-origin status code trends, file access statistics Top 1000.​
  • Identify the source of user access​
  • Analyze the data volume of user access​
  • Determine the entity responsible for abnormal access​
Display file operation trends in the bucket, bucket file deletion statistics, bucket file deletion IP statistics, and file deletion trends.​
  • Identify trends of high-risk operations.​
  • Evaluate user bucket space.​
Go to the query and analysis page for log topics, and customize your query for the relevant log topic.​
  • Customize flexible queries and analyze logs.​
  • Customize visual analysis charts.​
​
Data pivot​
The pivot dashboard for CloudLens for TOS aggregates data daily by account, region, and bucket, and provides insights into activity metrics, summary metrics, cost optimization, and data protection to help you quickly understand how object storage resources are used. For details on log fields, see Data pivot fields.​
With the pivot dashboard, you can track storage capacity growth trends and identify the fastest-growing buckets and prefixes. This helps you to determine whether storage growth aligns with expectations and optimize storage costs.​
​​​
How pivot dashboard metrics are collected:​
​
Free metrics
Advanced metrics
​
Collect free metrics. This feature is available for all regions and buckets. The metric details are as follows:​
  • Summary metrics: total storage and total number of objects.​
  • Cost optimization metrics: historical version bytes, number of historical version object, number of unmerged multipart upload bytes, and number of unmerged multipart upload object.​
  • Data protection metrics: current version bytes and current version object count.​
​
Dashboard detail overview:​
The metrics are presented from perspectives such as overview, region, storage type, bucket, and prefix, including charts for trends, distribution, snapshots, bubble diagrams, and detailed data.​
  • Trend and distribution charts: used to identify key metric targets.​
  • Bubble diagram: A data-visualization diagram that maps data using bubble size to represent a third variable, showing relationships among three numerical variables.​
​
Data pivot feature​
Chart description​
Feature purpose​
Display metric snapshots, metric details, trends and distribution, TopN snapshots, and incremental TopN prefix.​
View total TOS storage, total object count, and total bucket count from an overview perspective.​
Display the trends, distribution, bubble diagram, and data details of the corresponding metrics within the specified area.​
Identify capacity concentration and regional differences from a geographic perspective to support cross-region capacity planning. Conduct in-depth analysis with summary metrics, cost optimization metrics, and data protection metrics.​
Display the corresponding metrics trends, distributions, bubble chart, and detailed data for the specified storage type.​
Compare capacity trends, daily distribution, and object count for each storage type from a storage perspective. Check if infrequently accessed data remains in standard storage and validate the effectiveness of your tiering strategy.​
Display trends, distributions, bubble charts, and detailed data for corresponding metrics in the specified bucket.​
Identify high-priority buckets from the bucket perspective, and distinguish between "large capacity with few objects" and "not large capacity but many objects."​
Displays the trends, distributions, bubble charts, and detailed data for the specified metrics under the given prefix.​
From the prefix perspective (if advanced metrics enable prefix aggregation), locate capacity growth to specific directories using prefix aggregation metrics.​
​
Permissions​
  • When you first access the CloudLens for TOS log application, follow the prompts to complete cross-service access authorization.​
  • By default, the main account has full permissions and IAM sub-accounts have no permissions. If you need to perform this operation using a sub-account, the main account must grant the following permissions to the sub-account. For details, see IAM overview.​
  • ​
    Feature category​
    Permissions​
    Log application​
    • tls:CreateApp​
    • tls:ModifyApp​
    • tls:DescribeApp​
    • tls:DescribeApps​
    • tls:DeleteApp​
    Log analysis​
    • tls:ModifyCloudLensInstanceStatus​
    • tls:DescribeCloudLensInstances​
    • tls:DescribeCloudLensInstanceStatus​
    • tls:DescribeCloudLensTargetTopics​
    • tls:DescribeCloudLensOverview​
    Data pivot​
    • tls:CreateTosLensTask​
    • tls:ModifyTosLensTask​
    • tls:DescribeTosLensTasks​
    • tls:DescribeTosLensTask​
    • tls:DeleteTosLensTask​
    ​
Resource management​
After integrating the CloudLens for TOS log application, the following dedicated log projects and related resources will be generated:​
​
Dimension​
Log project​
Log topic​
Table topic​
Log analysis​
tos-log-<account_id>-<region_id>​
tos-log-topic​
  • Tag is set to tos.​
  • Pay by feature​
  • Used for log analysis and stores TOS API access logs. For field details, see Log analysis fields.​
None​
Data pivot​
tos-project-<account_id>-<region_id>​
tos-lens-topic​
  • Labeled as tls_cloudlens_free​
  • Free of charge​
The name of the bucket in object storage​
  • Automatically generated only when prefix aggregation is enabled; each bucket corresponds to one table topic.​
  • The tag is tls_cloudlens​
  • It is in closed beta and free of charge for now. The billing start date will be announced separately.​
​
Notice​
All data pivot dashboard tasks generate data and share the same set of log topics/table topics:​
  • Basic summary statistics and prefix statistic task metrics are stored in a single log topic: tos-lens-topic.​
  • Process data for prefix statistics tasks: stored in table topics named after bucket names. If multiple tasks involve the same bucket, they use the same table topic. Data is stored only once and not duplicated.​
Billing notes​
The log application itself does not incur charges, but log topics and related data storage, read traffic, data transformation, and log shipping generated through the log application will incur fees.​
If you need to view detailed billing information for a specific project, refer to split bills. After enabling the split billing service, you can view detailed split bill data on the split bills page.​
​
Dimension​
Billing notes​
Log analysis​
Log topics are billed by feature.​
Billing items include storage space, data reading, delivering, processing, indexing traffic, API calls, and more. For details, see Billing items based on pay-by-feature mode.​
Data pivot​
  • Log topics are free of charge.​
  • The table topic is currently in closed-beta. During this stage table topic is for free and is expected to charge from October 2026.​
Notice​
If you enable the metrics export feature, data will be stored in the target TOS bucket and TOS will charge storage fees. For details, see Storage capacity fees.​
​
Notice​
  • Once CloudLens for TOS log application is integrated, it can not be canceled.​
  • Deleting the tos-lens-topic log topic from the pivot dashboard and modifying index configuration are not supported.​
  • Deleting the tos-log-topic log topic in log analysis may cause the TLS feature for cloud products to stop working. If a topic needs to be deleted, ensure related resources under this topic are deleted or disabled before deleting the log topic.​
  • Do not integrate other data to exclusive log topics.​
Last updated: 2026.09.08 17:53:41