Queries the flow logs of a CEN instance.

Debug

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

Request parameters

Parameter Type Required? Example value Description
Action String No DescribeFlowlogs

The name of this action. Value: DescribeFlowlogs.

CenId String No cen-7qthudw0ll6jmc****

The ID of the CEN instance.

ClientToken String No 02fb3da4-130e-11e9-8e44-0016e04115b

The client token used to guarantee the idempotence of the request. The value of this parameter is generated by the client and must be unique among different requests. It must be 1 to 64 ASCII characters in length.

Description String No This is my Flowlog.

The description of the flow log. The description must be 2 to 256 characters in length. It must start with a letter, but cannot start with http:// or https://.

FlowLogId String No flowlog-m5evbtbpt****

The ID of the flow log.

FlowLogName String No myFlowlog

The name of the flow log.

LogStoreName String No LogStore

The Logstore that stores the captured traffic data.

PageNumber Integer No 1

The current page number.

PageSize Integer No 10

The number of entries per page.

ProjectName String No Project

The Project that stores the captured traffic data.

RegionId String No cn-hangzhou

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

Status String No Active

The status of the flow log. Valid values:

  • Active: The flow log is active.
  • InActive: The flow log is inactive.

Response parameters

Parameter Type Example value Description
FlowLogs

The details of the flow log.

CenId String cen-7qthudw0ll6jmc****

The ID of the CEN instance.

CreationTime String 2018-07-24T13:00:52Z

The time when the flow log is created.

Description String abc

The description of the flow log.

FlowLogId String flowlog-m5evbtbpt****

The ID of the flow log.

FlowLogName String myFlowlog

The name of the flow log.

LogStoreName String FlowLogStore

The Logstore that stores the captured traffic data.

ProjectName String FlowLogProject

The Project that stores the captured traffic data.

RegionId String cn-hangzhou

The ID of the region.

Status String Active

The status of the flow log. Valid values:

  • Active: The flow log is active.
  • InActive: The flow log is inactive.
PageNumber String 1

The current page number.

PageSize String 10

The number of entries per page.

RequestId String F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1

The ID of the request.

Success String true

Indicates whether the operation is successful. Valid values:

  • true: The operation is successful.
  • false: The operation is unsuccessful.
Totalcount String 3

The total number of queried flow logs.

Examples

Request example


http(s)://[Endpoint]/? Action=DescribeFlowlogs
&<CommonParameters>

Response example

XML format

<DescribeFlowlogsResponse>
      <RequestId>04F0F334-1335-436C-A1D7-6C044FExxxxx</RequestId>
</DescribeFlowlogsResponse>

JSON format

{
	"RequestId":"04F0F334-1335-436C-A1D7-6C044FExxxxx"
}

Errors

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