All Products
Search
Document Center

Web Application Firewall:Manage log storage space

Last Updated:Sep 18, 2026

After you enable Log Service for WAF, you are allocated log storage space based on the capacity you selected. When storage is full, WAF stops writing logs to the dedicated Logstore. Monitor usage regularly, upgrade capacity before it runs out, and clear log data only when necessary.

Prerequisites

Before you begin, ensure that you have:

View log storage usage

Note

Usage statistics are delayed by two hours. Expand capacity before it is exhausted — do not wait for the indicator to reach 100%.

  1. Log on to the WAF console. In the top navigation bar, select the resource group and region where your WAF instance is deployed. The region can be Chinese Mainland or Outside Chinese Mainland.

  2. In the left-side navigation pane, choose Detection and Response > Log Service.

  3. In the upper corner of the Log Service page, view your current log storage usage.

Upgrade log storage capacity

When log storage is exhausted, WAF stops writing logs to the dedicated Logstore. Upgrade before capacity runs out to avoid gaps in your log data.

  1. Log on to the WAF console. In the top navigation bar, select the resource group and the region where your WAF instance is deployed.

  2. In the left-side navigation pane, choose Detection and Response > Log Service.

  3. In the upper-right corner of the Log Service page, click Upgrade Storage.

  4. On the page that appears, select a larger storage capacity and complete the payment.

For available capacity options and pricing, see Overview of the Log Service for WAF feature.

Clear log storage space

Clearing log data immediately frees storage space. Use this option only when you cannot upgrade capacity or need to reset your logs.

Warning

Cleared log data cannot be restored. After Log Service for WAF is activated, you can clear log storage a maximum of four times.

  1. Log on to the WAF console. In the top navigation bar, select the resource group and the region where your WAF instance is deployed.

  2. In the left-side navigation pane, choose Detection and Response > Log Service.

  3. In the upper-right corner of the Log Service page, click Clear.

  4. In the confirmation dialog box, click OK.

All log data in your dedicated Logstore is permanently deleted.

What's next