Change the retention period for logs
You can change the log retention period through the control panel.When the period expires, the logs are deleted.The default log retention period is 30 days.
-
In the dashboard, on the top menu, click Products and select Logs.
-
Go to the Logs section.
-
From the menu of the log group, select Change log retention period.
-
Select the number of days for which the group's logs will be stored.Please note that the storage period is always counted from the date the logs appeared.If the new storage period is less than the number of days the logs are already stored in the service, the logs will be deleted within a day.
-
Optional: if you need to change the retention period for logs of multiple groups:
5.1 Check the box Apply to other groups.
5.2 Select the groups for which you want to change the log retention period.
-
Enter the name of the log group.
-
Click Save.