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 Configuring Logs.
Changing the Log Storage Duration
- Log in to the management console.
- Click in the upper left corner of the management console and select a region or project.
- In the navigation pane on the left, click and choose . The Dashboard page will be displayed.
- (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 of a firewall to go to its details page.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.