This topic describes the billing items and billing methods of Log Service.
Log Service supports the pay-as-you-go billing method. When you use the pay-as-you-go billing method, you are charged based on the amount of resources that you have consumed. Log Service also offers free quotas on a monthly basis. For more information, see Pay-as-you-go.
- Subscription resource plans
You can purchase a subscription resource plan. For example, you can purchase subscription resource plans for read/write traffic, indexing traffic, or occupied storage space. The resources that you use are deducted from the relevant resource plan.
Billing items and methods
|Billing items and methods||Description|
|Read/write traffic||Read/write traffic is calculated based on the compressed log data. The compression
ratio is 10% to 20%. Read/write traffic includes the traffic that is generated by
data consumption in streaming mode. Example: A total of 10 GB of raw logs are generated.
After the logs are written to Log Service, they are compressed to 1.5 GB. In this
case, 1.5 GB of log data incur fees.
|Storage space occupied by log data||The storage space is the total size of compressed log data and the indexes. Example: Log data is written to Log Service at a speed of 1 GB per day and is compressed to 200 MB. Indexing is enabled for 10% of the raw log data. The size of indexes is 100 MB. If the data is stored for 30 days, the maximum cumulative storage space after 30 days is 9 GB (30 days × 100 MB/day + 30 days × 200 MB/day = 9 GB).|
|Storage space occupied by time series data||The storage space that time series data occupies is measured based on the size of the raw data.|
|Indexes created or recreated for log data||You are charged for the indexing traffic only once. This traffic is calculated based
on the indexed fields. Example: If the fields to be queried account for 10% of logs
whose size is 10 GB, an indexing fee is billed for 1 GB of log data.
|Indexes created for time series data|
|Active shards||Only shards in the readwrite state incur fees. Merged or split shards do not incur
fees. Example: You need to merge three shards in the readwrite state. After you merge
them, one shard is in the readwrite state, and the other two shards become read-only.
On the day that you merge these three shards, you are charged for three shards. On
the next day, you are charged for only one shard.
You can write 430 GB of log data per day to a shard.
|Read/write operations||The number of operations that write logs to Log Service depends on the speed at which logs are generated. Log Service can minimize the number of read/write operations at the backend.|
|Read traffic over the Internet||When log data collected by Log Service is read and consumed by applications outside Alibaba Cloud internal network, you are charged for the generated data traffic.|
|Data transformation||You are charged for the server and network resources consumed when you use the data
Note If data is transmitted across regions for data transformation, Internet traffic is generated and compressed. You are charged for the compressed Internet traffic.
|LogShipper||You are charged for data that is shipped to OSS, MaxCompute, AnalyticDB for MySQL, and TSDB.|
|Billing items and methods||Free monthly quota|
|Storage space occupied by log data||500 MB|
|Read/write traffic||500 MB|
|Indexes created or recreated for log data||500 MB|
|Active shards||31 (one shard per day)|