Creating a Flow Log
Scenarios
This section describes how to create a flow log to record information about the traffic of enterprise router attachments.
Notes and Constraints
Only one flow log can be created for an attachment in the same log group and log stream.
Procedure
- Go to the enterprise router list.
- Search for the target enterprise router by name.
- Click the enterprise router name and click Flow Logs.
The flow log list is displayed.
- On the Flow Logs tab, click Create Flow Log.
The Create Flow Log dialog box is displayed.
- Configure the parameters based on Table 1.
Table 1 Parameters for creating a flow log Parameter
Setting
Example Value
Name
Mandatory
Enter a name for the flow log. The name:- Must contain 1 to 64 characters.
- Can contain letters, digits, underscores (_), hyphens (-), and periods (.).
flowlog-ab
Resource Type
Mandatory
Select the type of the resource whose traffic information is to be collected. The enterprise router flow log function can capture traffic of the following attachments:- VPC
- Virtual gateway: Virtual gateway of Direct Connect
- Peering connection: Enterprise routers in other regions. You can add enterprise routers from different regions to a central network as attachments. Each connection between enterprise routers is a peering connection attachment.
- VPN gateway
- Global DC gateway: Direct Connect global DC gateway
Virtual gateway
Resource
Mandatory
In the resource list, select the resource whose traffic information is to be collected.
vgw-ab
Log Group
Mandatory
Select a log group.
If there is no log group, click Create Log Group.
lts-group-ab
Log Stream
Mandatory
Select a log stream.
If there is no log stream, click Create Log Stream.
lts-topic-ab
Description
Optional
Describe the flow log as required.
-
- Click OK.
The flow log list is displayed.
- View the flow log status.
If the flow status changes from Creating to Enabled, the flow log is successfully created.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot