Field | Data Type | Description |
version | text | Flow log version. |
region-id | text | The region where logs are recorded. |
ccn-id | text | |
srcaddr | text | Source IP address. |
dstaddr | text | Target IP address. |
srcport | text | Traffic source port. This field will take effect only for UDP/TCP protocols and will be displayed as "-" for other protocols. |
dstport | long | Traffic destination port. This field will take effect only for UDP/TCP protocols and will be displayed as "-" for other protocols. |
protocol | long | |
srcregionid | text | Traffic source region. |
dstregionid | text | Traffic destination region. |
packets | long | Number of packets transferred in the capture window. This field will be displayed as "-" when log-status is NODATA. |
bytes | long | Number of bytes transferred in the capture window. This field will be displayed as "-" when log-status is NODATA. |
start | long | The timestamp when the first packet is received in the current capture window. If there are no packets in the capture window, it will be displayed as the start time of the capture window in Unix seconds. |
end | long | The timestamp when the last packet is received in the current capture window. If there are no packets in the capture window, it will be displayed as the end time of the capture window in Unix seconds. |
action | text | Operations associated with the traffic: ACCEPT: Cross-region traffic normally forwarded over CCN. REJECT: Cross-region traffic prevented from being forwarded due to traffic throttling. |
log-status | text | Log record status of the flow log: OK: It indicates that data is successfully recorded to the specified target. NODATA: There was no inbound or outbound network flow in the capture window, in which case both the packets and bytes fields will be displayed as -1. |
version account-id interface-id srcaddr dstaddr srcport dstport protocol packets bytes start end action log-statusField | Description |
version | Flow log version. |
account-id | Account AppID of the flow logs. |
instance-id | The ID of the instance to which the ENI is attached. |
interface-id | ENI ID. |
region-id | Region ID. |
az-id | AZ ID. |
vpc-id | VPC ID. |
subnet-id | Subnet ID. |
direction | Traffic direction (out for CVM accessing external, in for external accessing CVM). |
cross-region | For cross-region reporting, this field shows the actual collection region. For non-cross-region reporting, it displays 0. |
srcaddr | Source IP address. |
dstaddr | Target IP address. |
srcport | The source port of traffic. When the traffic is the ICMP protocol, this field represents the ICMP ID. |
dstport | The target port of traffic. When the traffic is ICMP protocol, this field represents a combination of ICMP type (high 8 bits) and code (low 8 bits). |
protocol | The IANA protocol number of traffic. For more information, go to the assigned Internet Protocol number. |
packets | This shows the number of data packets transmitted in the capture window. |
bytes | This shows the bytes transmitted in the capture window. |
start | This shows the start time of the capture window, in the Unix second format. |
end | This shows the end time of the capture window, in the Unix second format. |
action | Operations associated with the traffic: ACCEPT: It shows the traffic allowed to be recorded by the security group or network ACL. REJECT: It shows the traffic not allowed to be recorded by the security group or network ACL. |
log-status | Log record status of the flow log: OK: It indicates that data is successfully recorded to the specified target. NODATA: It indicates that there is no incoming or outgoing network traffic in the capture window. In this case, packets and bytes fields will be displayed as -1. SKIPDATA: It indicates that some flow log records were skipped in the capture window. This may be caused by internal capacity limits or internal errors. |

log-status:OK AND srcregionid:ap-hongkong AND dstregionid:na-siliconvalley | select sum(bytes)/60.00*8/1000/1000 as bandwidth
$1.bandwidth > 95
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback