Enables a flow log. After the flow log is enabled, it starts to capture traffic information of a specified resource.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ActiveFlowLog

The operation that you want to perform. Set the value to ActiveFlowLog.

FlowLogId String Yes fl-m5evbtbptxxxxxxxxxxxx

The ID of the flow log.

RegionId String Yes cn-qingdao

The region to which the flow log belongs. You can call the DescribeRegions operation to query region IDs.

Response parameters

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

The ID of the request.

Success String 111


Sample requests

&Common request parameter

Sample success responses

XML format


JSON format


Error codes

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