This topic describes how to manage log storage space. After you activate Log Service for Web Application Firewall (WAF), the system allocates log storage space based on the storage capacity that you select. You can view the usage of log storage space on the Log Service page in the WAF console.

View the usage of log storage space

  1. Log on to the Web Application Firewall console.
  2. In the top navigation bar, select the resource group to which the instance belongs and the region, Mainland China or International, in which the instance is deployed.
  3. In the left-side navigation pane, choose Log Management > Log Service .
  4. On the Log Service page that appears, view the usage of log storage space in the upper-right corner.Log storage space and its usage
    Note The usage of log storage space displayed in the WAF console is not updated in real time. The actual usage is updated every two hours. Before you exceed your allocated log storage space, we recommend that you expand your log storage space.

Expand the log storage space

In the upper-right corner of the Log Service page, click Upgrade Storage. On the page that appears, select a larger storage capacity and pay for the order.
Note If you exceed your allocated log storage space, WAF cannot write new log data into a dedicated Logstore.

Clear your log storage space

You can delete all log data based on your business requirements. For example, you can delete all log data generated during the test phase to save space for useful log data that is generated during the service production.

Note After Log Service for WAF is activated, you can clear your log storage space for four times in total.

Click Clear in the upper-right corner of the Log Service page. In the message that appears, click OK to delete all log data.

Warning You cannot recover log data that is deleted. Proceed with caution.