WAF 3.0 log field changes

Updated at:

Alibaba Cloud plans to adjust and update Simple Log Service (SLS)-related log fields in Web Application Firewall (WAF) 3.0. Review the changes below to determine whether your log queries or parsing pipelines need updating.

New required fields

The following five fields are added to WAF 3.0 logs and are present in every log entry.

FieldDescription
src_ipThe IP address of the connection to WAF. Without a Layer 7 proxy in front of WAF, this is the client IP address. With a Layer 7 proxy (such as Alibaba Cloud CDN), this is the proxy IP address.
src_portThe port of the connection to WAF. Without a Layer 7 proxy in front of WAF, this is the client port. With a Layer 7 proxy (such as Alibaba Cloud CDN), this is the proxy port.
dst_portThe destination port of the request.
request_uriThe Uniform Resource Identifier (URI) of the request, including both the request path and request parameters.
start_timeThe time the client request was initiated. Unit: seconds.

New optional fields

The following five fields are changing to optional. They are selected by default — clear any fields that your use case does not require.

FieldDescription
remote_addrThe IP address of the connection to WAF. Without a Layer 7 proxy in front of WAF, this is the client IP address. With a Layer 7 proxy (such as Alibaba Cloud CDN), this is the proxy IP address.
remote_portThe port of the connection to WAF. Without a Layer 7 proxy in front of WAF, this is the client port. With a Layer 7 proxy (such as Alibaba Cloud CDN), this is the proxy port.
server_portThe destination port of the request.
request_pathThe relative path of the request — the part of the URL between the domain name and the question mark (?). Does not include the query string.
querystringThe query string of the request — the part of the URL after the question mark (?).