The Log Service for Web Application Firewall (WAF) feature can be enabled for subscription WAF instances of the Business, Enterprise, and Exclusive editions.You are charged based on the log storage capacity that you purchase.
Billable items
You are charged only for the log storage capacity that you purchase.
When you enable the Log Service for WAF feature for a subscription WAF instance, you can specify a log storage capacity based on your business requirements. The log storage capacity is measured in TB. The fee for the log storage capacity is included in the subscription fee for the WAF instance.
You can specify a log storage capacity based on the log storage configurations and the daily QPS of your website service. For more information, see
Billing duration
- If you enable the Log Service for WAF feature when you purchase a subscription WAF instance, the billing cycle of the feature is the same as the subscription period that you select for the WAF instance.
- If you upgrade your subscription WAF instance to enable the Log Service for WAF feature, the billing cycle of the feature is equal to the remaining validity period of your WAF instance. The billing cycle is accurate to the minute.
Expiration
- WAF no longer writes log data to the dedicated Logstore.
- Log data is retained only for seven days.
If you renew your WAF instance within seven days, you can continue to use this feature. Otherwise, all log data is deleted.
Method to specify a log storage capacity
A log storage capacity is related to the storage duration, custom field configuration, and storage type.
Factor | Description | Default specification |
---|---|---|
Storage duration | The longer the storage duration, the larger the required log storage capacity. | By default, logs are stored for 180 days. |
Custom field configuration | WAF log fields are classified into required fields and optional fields.
| By default, all required fields and some optional fields are included. |
Storage type | The logs can be stored in the following two types:
| By default, the full logs of the domain name for which the Log Service for WAF is enabled are stored. |
Average daily QPS | Recommended storage capacity (unit:TB) |
---|---|
Lower than or equal to 80 Mbit/s | 3 |
Higher than 80 Mbit/s and lower than or equal to 120 Mbit/s | 5 |
Higher than 120 Mbit/s and lower than or equal to 260 Mbit/s | 10 |
Higher than 260 Mbit/s and lower than or equal to 350 Mbit/s | 15 |
Higher than 350 Mbit/s and lower than or equal to 500 Mbit/s | 20 |
Higher than 500 Mbit/s and lower than or equal to 1,200 Mbit/s | 50 |