This topic describes the fields in VPC flow logs.
Field | Description |
__topic__ | The topic of the log. The value is fixed as flow_log. |
version | The version of the flow log. The version of all current flow log entries is |
vswitch-id | The ID of the vSwitch to which the elastic network interface (ENI) is attached. |
vm-id | The ID of the ECS instance to which the ENI is attached. |
vpc-id | The ID of the VPC to which the ENI belongs. |
account-id | The Alibaba Cloud account ID. |
eni-id | The ID of the ENI. |
region | The region where the VPC resides. |
srcaddr | The source IP address. |
srcport | The source port. |
dstaddr | The destination IP address. |
dstport | The destination port. |
protocol | The Internet Assigned Numbers Authority (IANA) protocol number of the traffic. Common protocol numbers include 1 for ICMP, 6 for TCP, and 17 for UDP. |
direction | The direction of the traffic:
|
packets | The number of packets. |
bytes | The number of bytes. |
start | The time when the first packet was received in the capture window. The value is a Unix timestamp. |
end | For a persistent connection, this is the end time of the capture window. For a short-lived connection, this is the time when the connection was closed. The value is a Unix timestamp. |
log-status | The logging status of the flow log:
|
action | Indicates whether the traffic was permitted or denied by a security group or network ACL:
|
tcp-flags | The TCP flag, represented in decimal, which reflects a combination of flags from the TCP protocol, such as SYN, ACK, and FIN. A single flow log entry in a capture window can correspond to multiple TCP packets. This value is the result of a For example, if a TCP session has two packets in a capture window with SYN (2) and SYN-ACK (18) flags, the TCP flag field recorded in the log is 18 (2 | 18 = 18). The decimal values for some TCP flags:
For general information about TCP flags, such as the meaning of SYN, FIN, ACK, and RST, see RFC: 793. |
traffic_path | The scenario where the traffic occurs:
|
srctype | The CIDR block information of the source IP address after enabling the inter-domain analysis feature. Note This field is included only if you enable the inter-domain analysis feature. |
dsttype | The CIDR block information of the destination IP address after enabling the inter-domain analysis feature. Note This field is included only if you enable the inter-domain analysis feature. |