A VPC flow log records information about the traffic going to and from a VPC.
Ensure that the following operations have been performed on the LTS console:
For more information about the LTS service, see the Log Tank Service User Guide.
Parameter |
Description |
Example Value |
---|---|---|
Name |
The VPC flow log name. The name can contain a maximum of 64 characters, which may consist of letters, digits, underscores (_), hyphens (-), and periods (.). The name cannot contain spaces. |
flowlog-495d |
Resource Type |
The type of resources whose traffic is to be logged. You can select NIC, Subnet, or VPC. |
NIC |
Resource |
The specific NIC whose traffic is to be logged. NOTE:
We recommend that you select an ECS that is in the running state. If an ECS in the stopped state is selected, restart the ECS after creating the VPC flow log for accurately recording the information about the traffic going to and from the ECS NIC. |
N/A |
Filter |
|
All |
Log Group |
The log group created in LTS. |
lts-group-wule |
Log Topic |
The log topic created in LTS. |
LogTopic1 |
Description |
Supplementary information about the VPC flow log. This parameter is optional. The VPC flow log description can contain a maximum of 255 characters and cannot contain angle brackets (< or >). |
N/A |
Only two flow logs, each with a different filter, can be created for a single resource under the same log group and log topic. Each VPC flow log must be unique.