Torch Log Service
Configuration | Description |
Configuration | Description |
Log type | Web attack and access logs. |
Log storage location | After log management is enabled in WAF, TLS will automatically create a log project and log topic. For details on managing log resources, see Manage WAF log resources.
|
Log storage period |
|
Log shards |
|
Index settings | Configure indexes are automatically configured. |
Log fields |
Field | Description |
Field | Description |
ActionType | Actions, including:
|
APIID | API asset ID. |
APIName | API asset name. |
APIStatus | API status, including:
|
AttackType | Attack type, including:
|
ClientIP | Client IP address. |
ClientPort | Port used by the client to initiate access. |
ContentType | Requested content type. |
EventLevel | Attack event levels, including:
|
HitInfo | Secondary rule type after matching a protection policy type. |
HitField | The statistical object type and corresponding key value for the matched rule, formatted as <statistical object>: <key>. For example:
|
Host | The Host field in the client request header, i.e., the actual domain accessed by the client. |
MatchedHost | The matched WAF access domain. For example, if the access domain is *.test.com and the actual visited domain is a.test.com, this field records *.test.com. |
MatchedInfo | The field value matched by the rule, such as sensitive information (ID number, phone number, etc.) or specific strings for vulnerability rules. |
Method | The HTTP request method sent by the client. |
Path | The requested relative path refers to the part of the requested URL that follows the domain name and precedes the question mark (?), excluding the query string. |
Plugin | Protection strategy type.
|
PolicyID | Protection rule ID. |
QueryArgs | The query string in the client request, specifically the part of the requested URL after the question mark (?). |
RequestBodyType | Request body type, such as application/x-www-form-urlencoded or application/json. |
ResponseBodyType | Response body type, such as application/json or application/xml. |
Referer | The Referer field in the client request header indicates the source URL of the request. If the request does not have a source URL, this field will display as empty. |
Scheme | The protocol of the HTTP request, including HTTP and HTTPS. |
ServerProtocol | The protocol and version number returned by the origin server in response to the WAF's request. |
SensitiveTags | Sensitive information tags. |
Status | HTTP status code returned by WAF to client requests, including:
|
Time | Time when the client request was initiated. Displayed in UTC+8 time zone, format: yyyy-MM-dd HH:mm:ss. |
TraceID | Unique identifier generated by WAF for the client request. |
UpStreamAddr | IP address and port of the origin server. Format: IP:Port. Records are separated by commas. |
UpStreamResponseTime | The time taken by the origin server to respond to a WAF origin request. |
UpStreamStatus | The HTTP status code returned by the origin server for a WAF origin request, including custom status codes. |
UserAgent | The User-Agent field in the client request header contains information such as the client browser identifier and operating system identifier. |
VerificationStatus | Verification result for actions including JS challenge, proof of work, and CAPTCHA.
|
XForwardedFor | The X-Forwarded-For (XFF) field in the client request header helps identify the original IP address of a client connecting to a web server through HTTP proxy or load balancing. |
Field | Description |
Field | Description |
Cookie | The Cookie field in the client request header indicates the Cookie information from the client source. |
RequestBody | Request body content. |
ResponseBody | Response body content. When the Content-Encoding type is gzip or deflate, WAF logs return the response body content in Base64 encoding. For other Content-Encoding types, the original content is returned. |
RuleDescription | Description of the triggered rule. This field currently applies only to access control blacklist rules. For other rule conditions, its value is empty. |
RuleName | Name of the matched rule This field currently applies only to access control blacklist rules. For other rule conditions, its value is empty. |