Help Center> Cloud Firewall> User Guide> Auditing Logs> Log Management> Changing the Log Storage Duration
Updated on 2024-04-09 GMT+08:00

Changing the Log Storage Duration

Logs are stored for seven days by default. The storage duration can be set to 1 to 360 days. Logs that exceed the storage duration will be automatically deleted. For log data that needs to be stored for a long time (log persistence), LTS can dump the logs to OBS for medium- and long-term storage.

Prerequisites

Logs have been dumped to LTS by configuring Log Settings.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. In the navigation pane on the left, click and choose Security & Compliance > Cloud Firewall. The Dashboard page will be displayed.
  4. (Optional) If the current account has only one firewall instance, the firewall details page is displayed. If there are multiple firewall instances, click View in the Operation column to go to the details page.
  5. In the navigation pane on the left, choose Log Audit > Log Management. On the displayed page, click Modify Log Storage Duration.

    • Logs can be stored for 1 to 360 days. Logs that exceed the specified storage duration are automatically deleted.
    • The longer the storage duration, the larger the occupied storage. For details about how to dump logs to other cloud services for long-term storage, see Log Transfer Overview.