Starts a flow log. After a flow log is started, the traffic information of the specified cloud resource starts to be collected.

Debug

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

Request parameters

Parameter Type Required? Example value Description
CenId String  Yes cen-7qthudw0ll6jmc****

The ID of the CEN instance.

FlowLogId String  Yes flowlog-m5evbtbpt****

The ID of the flow log.

RegionId String  Yes cn-hangzhou

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

Action String No ActiveFlowLog

Optional. The name of this action. Value: ActiveFlowLog

Response parameters

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

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=ActiveFlowLog
&CenId=cen-7qthudw0ll6jmc****
&FlowLogId=flowlog-m5evbtbpt****
&RegionId=cn-hangzhou
&<CommonParameters>

Response examples

XML format

<ActiveFlowLogResponse>   
     <RequestId>F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1</RequestId>
</ActiveFlowLogResponse>

JSON format

{
	"RequestId":"F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1"
}

Errors

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