How Long Can WAF Protection Logs Be Stored?
On the WAF console, you can view logs for the last 30 days and download logs for all protected websites for the last five days for free.
The storage duration depends on your choices. You can store WAF logs in Log Tank Service (LTS) for seven days by default and up to 30 days by additional custom configuration. Logs earlier than 30 days will be deleted automatically by LTS. LTS is additionally billed. If you seek for long-term storage, enable the log transfer function in LTS to dump those logs to Object Storage Service (OBS) buckets or enable Data Ingestion Service (DIS).
- To enable LTS in WAF, refer to Enabling LTS for WAF Logging.
- To transfer LTS logs to OBS, Transferring Logs to OBS.
Protection Event Logs FAQs
- Can WAF Log Protection Events?
- Can I Obtain WAF Logs Using APIs?
- How Do I Obtain Data about Block Actions?
- What Does "Mismatch" for "Protective Action" Mean in the Event List?
- How Does WAF Obtain the Real Client IP Address for a Request?
- Can WAF Logs Be Transferred to OBS?
- Can WAF Forward Logs to the Syslog Server?
- How Long Can WAF Protection Logs Be Stored?
- Can I Query Protection Events of a Batch of Specified IP Addresses at Once?
- Will WAF Record Unblocked Events?
- Why Is the Traffic Statistics on WAF Inconsistent with That on the Origin Server?
- Why Is the Number of Logs on the Dashboard Page Inconsistent with That on the Configure Logs Tab?
- Why Are There Garbled Characters in Event Data I Exported from WAF?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore