When a Log Analysis instance expires, the instance no longer stores new logs. All stored logs are retained for seven days. When the retention period elapses, all logs are deleted and cannot be recovered. To prevent the issues that are related to an expired Log Analysis instance, we recommend that you pay attention to the expiration time of the instance and renew the instance at the earliest opportunity, or enable auto-renewal.

Prerequisites

The Log Analysis feature is enabled for your Anti-DDoS Pro or Anti-DDoS Premium instance.

For more information, see Step 1: Enable Log Analysis.

Query the expiration time of the Log Analysis instance

  1. Log on to the Anti-DDoS Pro console.
  2. In the top navigation bar, select the region where your instance resides.
    • Mainland China: If you select this region, the Anti-DDoS Pro console appears.
    • Outside Mainland China: If you select this region, the Anti-DDoS Premium console appears.
    You can switch the region to configure and manage Anti-DDoS Pro or Anti-DDoS Premium instances. Make sure that you select the required region when you use Anti-DDoS Pro or Anti-DDoS Premium.
  3. In the left-side navigation pane, choose Investigation > Log Analysis.
  4. In the upper-right corner of the Log Analysis page, click Details.
  5. In the Details dialog box, view the value of the Expires At parameter. Log storage duration

Manually renew the Log Analysis instance

  1. Log on to the Anti-DDoS Pro console.
  2. In the top navigation bar, select the region where your instance resides.
    • Mainland China: If you select this region, the Anti-DDoS Pro console appears.
    • Outside Mainland China: If you select this region, the Anti-DDoS Premium console appears.
    You can switch the region to configure and manage Anti-DDoS Pro or Anti-DDoS Premium instances. Make sure that you select the required region when you use Anti-DDoS Pro or Anti-DDoS Premium.
  3. In the left-side navigation pane, choose Investigation > Log Analysis.
  4. In the upper-right corner of the Log Analysis page, click Renew.
  5. On the Renew page, configure the Duration parameter, and read and select Log Service Terms of Service.
  6. Click Buy Now and complete the payment.
    After you renew the Log Analysis instance, you can click Details on the Log Analysis page to view the new value of the Expires At parameter.

Enable auto-renewal

  1. Log on to the Anti-DDoS Pro console.
  2. In the top navigation bar, choose Expenses > Renewal Management.
  3. On the Manual tab, find the Full Log instance that you want to renew and click Enable Auto Renewal in the Actions column.
  4. In the Enable Auto Renewal dialog box, select an auto-renewal period and click Auto Renew.
    Example: If the auto-renewal period is set to three months, Alibaba Cloud extends the subscription period of the Log Analysis instance for three months and deducts fees from the balance of your Alibaba Cloud account.
    After you enable auto-renewal, you can view the auto-renewal configurations on the Auto tab. You can also click Enable Manual Renewal to enable manual renewal.