Lists the fields in VPC flow logs.
|
Field |
Description |
|
__topic__ |
The log topic. Fixed as flow_log. |
|
version |
The flow log version. All current entries use version |
|
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, as a Unix timestamp. |
|
end |
The end time of the capture window for persistent connections, or the connection close time for short-lived connections. Value is a Unix timestamp. |
|
log-status |
The logging status of the flow log:
|
|
action |
Whether the traffic was permitted or denied by a security group or network ACL:
|
|
tcp-flags |
The TCP flag in decimal, reflecting a combination of TCP flags such as SYN, ACK, and FIN. A single flow log entry in a capture window can cover multiple TCP packets. The value is the 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 more information about TCP flags such as SYN, FIN, ACK, and RST, see RFC: 793. |
|
traffic_path |
The traffic path scenario:
|
|
srctype |
The CIDR block information of the source IP address. Available when the inter-domain analysis feature is enabled. Note
This field is included only if you enable the inter-domain analysis feature. |
|
dsttype |
The CIDR block information of the destination IP address. Available when the inter-domain analysis feature is enabled. Note
This field is included only if you enable the inter-domain analysis feature. |