Activates a flow log to capture the traffic of the specified resource.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes ActiveFlowLog

The name of this action. Value: ActiveFlowLog.

FlowLogId String Yes fl-m5evbtbptxxxxxxxxxxxx

The ID of the flow log.

RegionId String Yes cn-qingdao

The ID of the region to which the flow log belongs. To query the region ID, call DescribeRegions.

Response parameters

Parameter Type Example value Description 
RequestId String F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1

The ID of the request.


Request example

Response example

XML format


JSON format



For a list of error codes, visit the API Error Center.