Content is empty
If you don't find the content you expect, please try another search term
Last updated:2020-12-28 14:55:25
Kingsoft Cloud Log Service (KLog) supports the Pay-As-You-Go (By Traffic) and Pay-By-Daily-Config billing modes. If you want to use the Pay-By-Daily-Config billing mode, submit a ticket.
KLog supports a variety types of resource packages, including read and write traffic packages, storage packages, and indexing traffic packages. For more information, see Resource packages.
This section describes the billing items that KLog supports.
The size of the raw logs is 10 GB. After the raw logs are compressed, the size is reduced to 1.5 GB. The read and write traffic is charged based on 1.5 GB. The free quota is 200 MB. The fee is calculated based on the following equation: (1.5 GB - 200 MB) × 0.16 = CNY 0.208.
A total of 1 GB log data is generated each day. The data compression rate is 20%. The size is reduced to 200 MB after the data is compressed. Indexing is enabled for all data. The index data occupies 0.6 GB storage space. The log data is stored for one day. The free quota is 200 MB. The fees in three consecutive days are calculated based on the following equations:
Day 1: Charged storage space = 0.6 GB + 200 MB - 200 MB = 0.6 GB, Storage fee = 0.6 × 0.011 = CNY 0.0066
Day 2: Charged storage space = 0.6 GB + 0.8 GB = 1.4 GB, Storage fee = 1.4 × 0.011 = CNY 0.0154
Day 3: Charged storage space = 1.4 GB + 0.8 GB - 0.6 GB = 1.6 GB, Storage fee = 1.6 × 0.011 = CNY 0.0176.
When 10 GB log data is indexed, 10 GB indexing traffic is generated. The free quota is 200 MB. The fee is calculated based on the following equation: (10 GB – 200 MB) × 0.34 = CNY 3.332.
A LogPool contains five partitions, and you change the number of partitions to four. The fee in the bill of tomorrow is still calculated based on five partitions.
On day 1, data is written to KLog by using the API, which generates one million writes. The free quota is one million times. Therefore, the fee on day 1 is CNY 0. On day 2, data is written to KLog by using the API, which also generates one million writes. The fee for the one million writes on day 2 is CNY 0.1.
When you deliver 2 GB data to a third-party service over the Internet, 2 GB read traffic from the Internet is generated. KLog charges you CNY 1.6.
Read and write traffic | Storage space | Indexing traffic | Number of partitions | Number of reads and writes | Read traffic from the Internet | |
---|---|---|---|---|---|---|
Price(CNY) | ¥0.16/GB | ¥0.011/GB/Day | ¥0.34/GB | ¥0.04/Day/Partition | ¥0.1/One million times | ¥0.8/GB |
KLog provides free quotas for you each month. The following table lists the free quotas for specific billing items.
Read and write traffic | Storage space | Indexing traffic | Number of partitions | Number of reads and writes | Read traffic from the Internet | |
---|---|---|---|---|---|---|
Free quota/month | 200 MB | 200 MB | 200 MB | 9 | 1 million | N/A |
Pure Mode