Pay-by-feature billable items

更新时间:
复制 MD 格式

In Simple Log Service (SLS), each billable item is billed separately. For example, storing logs incurs storage fees, and collecting logs incurs write traffic fees. The following sections describe the billable items and payment methods of the pay-by-feature billing model.

Notes

  • The pay-by-feature model of Log Service supports collecting logs and time series data. Separate pricing applies to storage space and index building for time series data. However, the data processing fee, data shipping fee, read/write traffic fee, and request count fee are the same as for logs.

  • You can view metrics such as write traffic, read traffic, read/write count, data processing traffic, data shipping traffic, and storage usage for the previous day in the Log Service console.

    These metrics are updated daily and are not available in real time.

  • During log collection, Log Service automatically compresses log data to 10% to 20% of its original size.

What is an OCU?

Observability Capacity Unit (OCU) is the billing unit for Alibaba Cloud-native Observability. OCU usage is calculated automatically based on hourly resource consumption. On the Alibaba Cloud China Website, a public cloud OCU is priced at CNY 0.15 per unit.

Billing for the compute-optimized features of SLS is transitioning to an OCU-based model that charges based on actual compute resource consumption. In CPU scenarios, one OCU is equivalent to approximately 0.5 CPU cores, 2 GB of memory, and 3,000 IOPS. SLS calculates separate OCU values based on the consumption of CPU cores, memory, and IOPS. The highest of these three values determines the final OCU count for billing.

In GPU scenarios, one OCU is equivalent to approximately 1/60 of the computing power of an A10 card. The final OCU value is based on the consumed GPU computing power.

For example, a computation job that consumes 1 CPU core, 2 GB of memory, and 3,000 IOPS uses 2 OCUs. In a one-hour metering period, processing 1 GB of data consumes approximately 1/3 of an OCU for an ingest processor, 1/3 of an OCU for data transformation, and 0.3 OCUs for rule-based consumption.

For example, a vectorization job that uses the SLS vector index feature and consumes 1/60 of an A10 card's computing power over a one-hour metering period uses 1 OCU.

Billable items for pay-by-feature

The following table describes the billable items of the pay-by-feature model for Log Service. For detailed pricing information, see Pricing.

Billable item

Description

Billing method

Free quota

storage space - hot storage for logs

This includes the storage size of compressed logs and the indexes created from uncompressed logs. The indexes can be a full-text index, field index, or scan index.

For example, if your raw logs are 1 GB in size, after you upload the logs to Log Service and configure indexes for two target fields, the data is compressed to 20% of its original size and the index data for the two fields is 0.5 GB. In this case, the total storage space is 0.2 GB + 0.5 GB = 0.7 GB.

  • Pay-as-you-go: Fee for storage space - hot storage for logs = Daily cumulative storage (GB) × Unit price per GB

  • Resource plan:

    • New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

    • Legacy resource plans (Storage Plan): Usage is deducted based on the plan's actual capacity.

500 MB/month

Important

The free quota is available only if you do not use a resource plan to offset fees.

storage space - IA storage for logs

After you enable intelligent tiered storage, logs are converted to Infrequent Access (IA) storage (formerly cold storage) when their storage duration exceeds the configured Hot Data Retention Period. You are then charged for the IA storage space. This storage space includes the volume of compressed logs and the indexes created from uncompressed logs.

For example, if your raw logs are 1 GB in size, after you upload the logs to Log Service and configure indexes for two target fields, the data is compressed to 20% of its original size and the index data for the two fields is 0.5 GB. In this case, the IA storage space is 0.2 GB + 0.5 GB = 0.7 GB.

  • Pay-as-you-go: Fee for storage space - IA storage for logs = Daily cumulative storage (GB) × Unit price per GB

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

None

storage space - archive storage for logs

After you enable intelligent tiered storage, logs are moved to archive storage when their configured Hot Data Retention Period or IA-tier data retention period ends. You are then charged for the archive storage space used. This space includes the volume of compressed logs and the index data generated from the uncompressed logs.

For example, if your raw logs are 1 GB in size, after you upload the logs to Log Service and configure indexes for two target fields, the data is compressed to 20% of its original size and the index data for the two fields is 0.5 GB. In this case, the archive storage space is 0.2 GB + 0.5 GB = 0.7 GB.

  • Pay-as-you-go: Fee for storage space - archive storage for logs = Daily cumulative storage (GB) × Unit price per GB

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

None

storage space - time series storage

This includes the storage size of compressed time series data and the indexes created from uncompressed time series data.

For example, if your raw time series data is 1 GB in size, after you upload the data, Log Service automatically builds an index of 1 GB. If the data is compressed to 20% of its original size, the total storage space consumed is 0.2 GB + 1 GB = 1.2 GB.

  • Pay-as-you-go: Fee for storage space - time series storage = Daily cumulative storage (GB) × Unit price per GB

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

None

read and write traffic

Read and write traffic consists of two components:

  • Write traffic: When compressed data is uploaded to Log Service, fees are calculated based on the volume of data transferred.

    For example, if your raw data is 10 GB in size, uploading it to Log Service generates 2 GB of write traffic (compressed to 20% of its original size).

  • Read traffic: When you ship compressed data to destinations such as AnalyticDB for MySQL or consume compressed data, fees are calculated based on the volume of data transferred.

    For example, if your raw data is 10 GB in size, uploading it to Log Service generates 2 GB of write traffic (compressed to 20% of its original size). Then, shipping the data to AnalyticDB for MySQL by using Log Service generates another 2 GB of read traffic.

Note

The consumption preview feature in the Log Service console generates a small amount of read traffic.

  • Pay-as-you-go: Read and write traffic fee = (Daily cumulative write traffic + Daily cumulative read traffic) (GB) × Unit price per GB

  • Resource plan:

    • New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

    • Legacy resource plans (Read/Write Traffic Plan): Usage is deducted based on the plan's actual capacity.

500 MB/month

Important

The free quota is available only if you do not use a resource plan to offset fees.

index traffic - log indexing

Index traffic is calculated based on the volume of index data generated when uncompressed logs are indexed or reindexed. Indexes are created for specific fields. The amount of index traffic depends on the indexed fields and the length of their values.

  • For example, if your raw logs are 1 GB in size and you write them to Log Service with a full-text index enabled, the index traffic is 1 GB.

  • For example, if your raw logs are 1 GB in size and you write them to Log Service with indexes enabled for two fields whose data totals 0.5 GB, the index traffic is 0.5 GB.

Important
  • Log indexing accelerates queries and analysis. To query and analyze logs, you must create an index. For other scenarios, such as migrating or transferring data by using Log Service, you do not need to create a log index.

  • This billable item applies to a Standard Logstore.

  • Indexing is disabled by default. If you enable indexing, index traffic is generated and storage space is consumed.

  • Index traffic fees are charged as a one-time fee when data is written.

  • If you create both a full-text index and a field index for the same field, Log Service charges for index traffic only once.

  • Log Service automatically builds indexes for reserved fields such as __time__ and __source__. This generates a small amount of index traffic. For more information, see Reserved fields.

  • Pay-as-you-go: Fee for index traffic - log indexing = Daily cumulative index traffic (GB) × Unit price per GB

  • Resource plan:

    • New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

    • Legacy resource plans (Index Traffic Plan): Usage is deducted based on the plan's actual capacity.

500 MB/month

Important

The free quota is available only if you do not use a resource plan to offset fees.

index traffic - log indexing - query type

Index traffic is calculated based on the volume of index data generated when uncompressed logs are indexed or reindexed. Indexes are created for specific fields. The amount of index traffic depends on the indexed fields and the length of their values.

  • For example, if your raw logs are 1 GB in size and you write them to Log Service with a full-text index enabled, the index traffic is 1 GB.

  • For example, if your raw logs are 1 GB in size and you write them to Log Service with indexes enabled for two fields whose data totals 0.5 GB, the index traffic is 0.5 GB.

Important
  • Log indexing accelerates queries and analysis. To query and analyze logs, you must create an index. For other scenarios, such as migrating or transferring data by using Log Service, you do not need to create a log index.

  • This billable item applies to a Query Logstore.

  • Indexing is disabled by default. If you enable indexing, index traffic is generated and storage space is consumed.

  • Index traffic fees are charged as a one-time fee when data is written.

  • If you create both a full-text index and a field index for the same field, Log Service charges for index traffic only once.

  • Log Service automatically builds indexes for reserved fields such as __time__ and __source__. This generates a small amount of index traffic. For more information, see Reserved fields.

  • Pay-as-you-go: Fee for index traffic - log indexing = Daily cumulative index traffic (GB) × Unit price per GB

  • Resource plan: Usage is converted into Cost Units (CUs) and deducted from your prepaid plan.

None

index traffic - scan index

Index traffic is calculated based on the volume of index data generated when a scan index is built or reindexed for uncompressed logs. The amount of index traffic depends on the log fields and the length of their values.

If a field has both a full-text or field index and a scan index, only the traffic for the full-text or field index is billed.

Creating a scan index generates index storage data equal to 20% of the raw log volume.

  • For example, if your raw logs are 1 GB in size and you enable only a scan index, the scan index traffic is 1 GB.

  • For example, if your raw logs are 1 GB in size, and you enable field indexes for two fields (totaling 0.5 GB of data) and also enable a scan index, this generates 0.5 GB of field index traffic and 0.5 GB of scan index traffic.

  • Pay-as-you-go: Fee for index traffic - scan index = Daily cumulative scan index traffic (GB) × Unit price per GB

  • Resource plan:

    • Not yet supported

None

index traffic - time series index

Index traffic is calculated based on the volume of index data generated when an index is built for uncompressed time series data. Indexes are created for specific fields. The amount of index traffic depends on the indexed fields and the length of their values.

When you upload time series data, Log Service automatically builds an index for the data.

For example, if you write 1 GB of raw time series data to Log Service, 1 GB of index traffic is generated.

  • Pay-as-you-go: Fee for index traffic - time series index = Daily cumulative index traffic (GB) × Unit price per GB

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

None

public network read traffic

Public network read traffic is generated when you pull data from a Log Service public endpoint. Traffic is calculated based on the compressed data volume.

  • Pay-as-you-go: Fee for public network read traffic = Daily cumulative public network read traffic × Unit price per GB

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

None

scan traffic

Scan traffic is calculated based on the volume of uncompressed data that is scanned.

  • Pay-as-you-go: Fee for scan traffic = Daily cumulative scan traffic (GB) × Unit price per GB

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

None

data transformation

Fees are calculated based on the volume of uncompressed data transformed.

If you transform data across regions, public network read traffic is generated. This traffic is calculated based on the compressed data volume.

  • Pay-as-you-go: Fee for data transformation = Daily cumulative transformed data volume (GB) × Unit price per GB

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

None

data shipping

Data shipping fees are calculated based on the volume of uncompressed data that is shipped to destinations such as OSS, MaxCompute, and AnalyticDB for MySQL.

Note

Shipping data to AnalyticDB for MySQL also incurs fees for read and write requests and read traffic.

  • Pay-as-you-go: Fee for data shipping = Daily cumulative shipped data volume (GB) × Unit price per GB

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

None

read and write requests

  • When you upload data to Log Service, you are charged per write request. The number of requests depends on your data generation speed. The Log Service backend attempts to minimize the request count.

  • When you transform, ship (to AnalyticDB for MySQL), or consume data, data is read in batches, and you are charged based on the number of read requests.

Note

Both successful and failed read and write requests are counted.

  • Pay-as-you-go: Fee for read and write requests = Daily cumulative read and write requests × Unit price per request

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

1 million requests/month

Important

The free quota is available only if you do not use a resource plan to offset fees.

voice call

You are charged per voice call for alert notifications.

Note
  • If a voice call alert fails to connect, Log Service does not redial and sends a text message notification instead.

  • You are charged once for each voice call, regardless of whether it connects. No extra fee is charged for the text message notification that is sent for a failed call.

  • Pay-as-you-go: Fee for voice calls = Daily cumulative notifications × Unit price per notification

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

None

text message notification

Alert notifications sent by text message are charged per notification.

Note

Some carriers may split long text messages (for example, over 70 characters) into two messages. You may receive two messages, but Log Service charges for only one notification.

  • Pay-as-you-go: Fee for text message notifications = Daily cumulative notifications × Unit price per notification

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

None

active shard lease

Fees are calculated based on the number of shards in the read/write state. Charges for shards stop the day after they are merged or split.

For example, if you merge three active read/write shards into one, you are still charged for three shards on that day. On the next day, you are charged for one shard.

Note
  • When you create a Logstore, Log Service configures two shards by default. For more information about shard-related questions, see Why am I charged for active shard leases?

  • For historical reasons, the active shard lease billable items for Logstores and Metricstores appear as two different fields on bills: active shard lease and partition lease. The usage of these two billable items is added together to calculate the total shard usage, with no double counting. This issue is being fixed.

  • Pay-as-you-go: Fee for active shard lease = Number of read/write shards × Unit price per shard

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

31 shard-days/month

Important

The free quota is available only if you do not use a resource plan to offset fees.

dedicated SQL

Fees are calculated based on the actual CPU time used for SQL analysis. The unit is the core-hour, which represents the work done by one CPU core running for one hour. For more information, see Dedicated SQL billing examples.

  • Pay-as-you-go: Fee for dedicated SQL = CPU time (hours) × Unit price per hour

  • Resource plan: New resource plans (Prepaid Plan 2.0): Usage is converted into Cost Units (CUs) and deducted.

None

Rule-based consumption

You are billed based on the resources consumed to process data by using rule-based consumption. The billable unit is OCU.

In a one-hour metering period, rule-based consumption consumes approximately 0.3 OCUs to process 1 GB of data.

  • Pay-as-you-go: Fee for rule-based consumption = Number of OCUs for consumed resources × Unit price per OCU

None

Data transformation (new version)

You are billed based on the resources consumed to process data by using the new version of data transformation. The billable unit is OCU.

In a one-hour metering period, the new version of data transformation consumes approximately one-third of an OCU to process 1 GB of data.

  • Pay-as-you-go: Fee for data transformation (new version) = Number of OCUs for consumed resources × Unit price per OCU

None

transfer acceleration

You are billed based on the inbound and outbound traffic generated through a transfer acceleration endpoint.

Transfer acceleration is billed based on the actual amount of data transferred. For example, if data is compressed during upload, traffic is calculated based on the compressed size.

For more information, see Manage Projects.

  • Pay-as-you-go: Fee for transfer acceleration = Inbound and outbound traffic from transfer acceleration × Unit price per GB

None

ingest processor

An ingest processor processes log data before it is written to a Logstore. For example, you can filter data, extract fields, extend fields, and mask data. Fees are based on the resources consumed for data processing. The billing unit is OCU.

In a one-hour metering period, an ingest processor consumes approximately one-third of an OCU to process 1 GB of data.

  • Pay-as-you-go: Fee for ingest processor = Number of OCUs for consumed resources × Unit price per OCU.

None

AI computing

You are billed based on the resources consumed when you use vector indexes to call an embedding model to vectorize data or call a semantic enrichment LLM function to enrich data semantics. The billable unit is OCU.

In a one-hour metering period:

Calling the sls-multilang-v3 model to vectorize one million tokens consumes approximately 3.3 OCUs.

Calling the qwen-turbo model for semantic enrichment consumes approximately 3 OCUs for one million input tokens and approximately 6 OCUs for one million output tokens.

  • Pay-as-you-go: Fee for AI computing = Total OCUs consumed by AI computing features × Unit price per OCU.

None