Updated on 2024-12-31 GMT+08:00

Querying Logs

CFW allows you to query logs generated within the last seven days. The following types of logs are available:

One or multiple types of logs can be recorded in LTS. You can view log data in the past 1 to 365 days. For details, see Log Management.

Constraints

  • Logs can be stored for up to seven days.
  • For each type of logs, up to 1000 records can be viewed, and up to 100,000 records can be exported.
  • Traffic logs are collected based on sessions. Data about a connection is not reported until connection is terminated.

Checking Logs

Perform the following operations to view logs.

Related Operations

Exporting logs: Click in the upper right corner to export the logs in the list.

Follow-up Operations

  • If improper blocking is recorded in access control logs, check whether your protection rules, blacklist, and whitelist configurations are correct.
  • If improper blocking is recorded in attack event logs, your normal workloads may be blocked by IPS.