This topic describes the billable items and billing method 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 consumed resources. Log Service also offers monthly free quotas. For more information, see Pay-as-you-go.
|Read and write traffic||Read and write traffic is calculated based on the compressed log data. The compression
ratio is 10:1 to 5:1. Read and write traffic includes the traffic that is generated
by data consumption in streaming mode. For example, assume that 10 GB of raw logs
are generated. After the logs are written to Log Service, these logs are compressed
to 1.5 GB. In this case, you are charged for 1.5 GB of log data.
|Storage space occupied by log data||The storage space is the total size of compressed log data and indexes. For example, assume that log data is written to Log Service at a speed of 1 GB per day and is compressed to 200 MB. Indexes are created 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 index traffic only once. This traffic is calculated based
on the indexed fields. For example, if you create indexes for 10% of fields in 10
GB of logs, you are charged for 1 GB of index traffic.
|Indexes created for time series data|
|Active shards||Only shards in the readwrite state incur fees. Merged or split shards do not incur
fees. For example, assume that you need to merge three shards in the readwrite state.
After you merge these shards, 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 and 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 and write operations at the backend.|
|Read traffic over the Internet||When log data collected by Log Service is read and consumed by applications outside the Alibaba Cloud internal network, you are charged for the generated data traffic.|
|Data transformation||You are charged for the server and network resources that are consumed when you use
the data transformation feature.
Note If data is transmitted across regions for data transformation, Internet traffic is generated and compressed. You are charged for the compressed Internet traffic.
|Data shipping||You are charged for data that is shipped to OSS, MaxCompute, AnalyticDB for MySQL, and TSDB. The fees are calculated based on the size of the raw data.|