Excessive logs stored in the log service console may incur excessive fees. In addition, the previous log files are no longer in use. Therefore, you must delete these previous log files. However, log service does not allow you to delete log files directly. Instead, you can set a retention period for logs in a Logstore to clear logs that exceed the retention period. This topic describes how to adjust the data retention period of log service.
- Login log Service Console click the name of the Project.
- Click modify.
- Enter on the Logstore properties page, click modify.
- Modify data retention period, click save.
- Log Service for WAF