This topic describes the fields of Internet traffic logs.
Log field descriptions
Field | Description | Example |
__time__ | The time when the log data is written to a Logstore. | 1703483369 |
__topic__ | The topic of the log. The value is fixed as cloudfirewall_access_log, which indicates a traffic log of Cloud Firewall. | cloudfirewall_access_log |
acl_rule_id | The ID of the access control policy that the traffic hits. If the value is 00000000-0000-0000-0000-000000000000, no access control policy is hit. | 073a1475-6e11-43e2-8b28-98cee9c6**** |
aliuid | The Alibaba Cloud account ID. | 1233333333**** |
app_dpi_state | The status of deep packet inspection (DPI). Valid values:
| success |
app_name | The application type of the traffic. Valid values include HTTPS, NTP, SIP, SMB, NFS, DNS, and Unknown (the protocol is of an unknown type). | HTTPS |
attack_type_name | The Chinese name of the attack type that is included in the traffic. | Mining behavior |
attack_type_name_en | The English name of the attack type that is included in the traffic. | Mining Behavior |
country_id | The country or region. The value is a two-letter code that complies with the ISO 3166-1 standard. Note The code YY indicates an unknown country or region.
| CN |
city_id | The unique identifier for the city. The value is the six-digit administrative region code for a Chinese city at or above the county level. For example, the code for Beijing is 110000. | 110000 |
cloud_instance_id | The ID of the protected asset instance. | ngw-bp1d5bx2orlw1p2wn**** |
direction | The direction of the traffic. Valid values:
Note VPC firewalls do not have the concept of inbound and outbound traffic. The default value of the direction field is out. | in |
domain | The destination domain name of the traffic. Note
| www.aliyundoc.com |
dst_ip | The destination IP address of the traffic. | 39.108.XX.XX |
dst_network_instance_id | The destination network instance of the traffic. | vpc-bp18ina819injc9zs**** |
dst_port | The destination port of the traffic. | 443 |
dst_region | The destination region of the traffic. | cn-beijing |
end_time | The time when the session ends. This value is a UNIX timestamp. Unit: seconds. | 1702367350 |
firewall_id | The ID of the VPC firewall instance. | cen-m9y9u2hgc0t9im**** |
in_bps | The rate of inbound traffic. Unit: bit/s. | 42 |
in_packet_bytes | The size of inbound traffic. Unit: bytes. | 58 |
in_packet_count | The number of packets in inbound traffic. | 1 |
in_pps | The average transmission rate of inbound packets. Unit: packets per second. Note If the transmission rate is less than 1 packet/second, this field displays 0 and does not show decimal places. | 1 |
ip_protocol | The IP protocol type. Valid values:
| tcp |
ips_ai_rule_id | The ID of the access control policy that is based on Artificial Intelligence Recommendation and is hit by the traffic. If the value is 00000000-0000-0000-0000-000000000000, no access control policy that is based on Artificial Intelligence Recommendation is matched or hit. | 00000000-0000-0000-0000-000000000000 |
ips_rule_id | The ID of the intrusion prevention rule that the traffic hits. If the value is 00000000-0000-0000-0000-000000000000, no intrusion prevention rule is matched or hit. | 00000000-0000-0000-0000-000000000000 |
ips_rule_name | The Chinese name of the intrusion prevention rule that the traffic hits. | Mining behavior on the host |
ips_rule_name_en | The English name of the intrusion prevention rule that the traffic hits. | Mining behavior on the host |
log_type | The log type. Valid values:
| internet_log |
loose_allow_acl_id | The ID of the pre-matched access control policy. Valid values:
| 00000000-0000-0000-0000-000000000000 |
new_conn | Indicates whether a new connection is established. Valid values:
| 1 |
out_bps | The rate of outbound traffic. Unit: bit/s. | 0 |
out_packet_bytes | The size of outbound traffic. Unit: bytes. | 0 |
out_packet_count | The number of packets in outbound traffic. | 0 |
out_pps | The average transmission rate of outbound packets. Unit: packets per second. Note If the transmission rate is less than 1 packet/second, this field displays 0 and does not show decimal places. | 0 |
region_id | The region ID. For more information about region IDs, see Supported regions.
| cn-beijing |
rule_result | The action that is performed on the traffic that hits an access control policy. Valid values:
The action that is performed on the traffic that triggers an intrusion prevention event. Valid values:
| alert |
rule_source | The source of the policy that the traffic hits. Valid values:
| basic_acl |
src_ip | The source IP address of the traffic. | 167.94.XX.XX |
src_network_instance_id | The source network instance of the traffic. | vpc-bp18ina819injc9zs**** |
src_port | The source port of the traffic. This is the port on the host from which the traffic is sent. | 47915 |
src_region | The source region of the traffic. | cn-beijing |
src_vpc_id | The ID of the source VPC. | vpc-bp18ina819injc9zs**** |
start_time | The time when the session starts. This value is a UNIX timestamp. Unit: seconds. | 1701759171 |
start_time_min | The start time of the session, in minutes. This value is a UNIX timestamp. Unit: seconds. | 1701759120 |
tcp_seq | The TCP sequence number. | 388367**** |
total_bps | The total transmission rate of inbound and outbound traffic. Unit: bit/s. | 42 |
total_packet_bytes | The total size of inbound and outbound traffic. Unit: bytes. | 58 |
total_packet_count | The total number of packets in inbound and outbound traffic. | 1 |
total_pps | The average transmission rate of inbound and outbound packets. Unit: packets per second. Note If the transmission rate is less than 1 packet/second, this field displays 0 and does not show decimal places. | 0 |
url | The URL of the website on the Internet that the server accesses. Note This field is displayed only when the value of app_name is HTTP. | http://aliyundoc.com/index.html |
vul_level | The risk level of the vulnerability that is hit by malicious traffic. Valid values:
| 1 |
ndr_log_type | The log type for Network Detection and Response (NDR) protocols. This field identifies the protocol log. | HTTP |
net_type | The location where NDR traffic is detected. Valid values:
| 0 |
request_uri |
| /api?key=value |
request_path | The path part of the URI, without query parameters. | /api |
host | The destination hostname and port number from the request header (the Host header). | aliyun.com:8080 |
request_method | The HTTP request method, such as GET, POST, PUT, or DELETE. | POST |
http_user_agent | The client ID from the request header. | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36 |
status | The HTTP response status code, which is a three-digit code. | 200 |