Updated on 2026-07-28 GMT+08:00

Viewing a VPC Flow Log

Scenarios

This section describes how you can view the VPC flow log details.

The capture window is approximately 10 minutes, which indicates that a flow log record will be generated every 10 minutes. After creating a VPC flow log, you need to wait about 10 minutes before you can view the flow log record.

If an ECS is in the stopped status, its flow log records will not be displayed.

Procedure

  1. Go to the VPC flow log list page.
  2. Locate the target flow log and click View Log Record in the Operation column.

    The Log Management page is displayed.

  3. In the log group list, locate the target log group and click the name of the target log stream.

    The page showing the details is displayed.

  4. Enter key information, such as IP address, in the search box to quickly find the flow log to be viewed.
    The flow log record is in the following format:
    <version> <project-id> <interface-id> <srcaddr> <dstaddr> <srcport> <dstport> <protocol> <packets> <bytes> <start> <end> <action> <log-status>

    Table 1 provides you with flow log examples.

    Table 1 Flow log examples

    Scenario

    Description

    A flow log with normal data records and accepted traffic

    The VPC flow log version is 1. During the 10 minutes from 11:37:19 to 11:47:19 on July 1, 2026, the network interface (c9bd7674-2c7a-45c5-b527-c431925578ce) accepted the following packets. A total of 594 echo request (type=8,code=0) packets were sent from the source IP address (192.168.0.110) to the destination IP address (10.10.12.122) using ICMP (protocol=1). The total size of all packets was 58,212 bytes. The flow log record status was normal (OK).
    1 6b32266bded64091a138e9ec19cff361 c9bd7674-2c7a-45c5-b527-c431925578ce 10.10.12.122 192.168.0.110 0 0 1 594 58212 1782877039 1782877639 ACCEPT OK

    A flow log with normal data records and rejected traffic

    The VPC flow log version is 1. During the 10 minutes from 11:27:16 to 11:37:16 on July 2, 2026, the network interface (d8c807c1-77b8-4d32-8c12-21b8a03dc0a2) rejected the following packets. A total of 546 echo request (type=8,code=0) packets were sent from the source IP address (192.168.1.3) to the destination IP address (192.168.0.102) using ICMP (protocol=1). The total size of all packets was 53,508 bytes. The flow log record status was normal (OK).
    1 6b32266bded64091a138e9ec19cff361 d8c807c1-77b8-4d32-8c12-21b8a03dc0a2 192.168.1.3 192.168.0.102 8 0 1 546 53508 1782962836 1782963436 REJECT OK

    A flow log with no data records

    1 5f67944957444bd6bb4fe3b367de8f3d 1d515d18-1b36-47dc-a983-bd6512aed4bd - - - - - - - 1431280876 1431280934 - NODATA

    A flow log with skipped data records

    1 5f67944957444bd6bb4fe3b367de8f3d 1d515d18-1b36-47dc-a983-bd6512aed4bd - - - - - - - 1431280876 1431280934 - SKIPDATA

You can enter a keyword on the log stream details page on the LTS console to search for flow log records.