云防火墙 CFW-查询流日志:响应参数

时间:2024-04-07 14:13:38

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

data

data object

查询流日志返回值

表5 data

参数

参数类型

描述

total

Integer

返回数量

limit

Integer

每页显示个数,范围为1-1024

records

Array of records objects

记录

表6 records

参数

参数类型

描述

bytes

Double

字节

direction

String

方向,有内到外和外到内两种

枚举值:

  • out2in

  • in2out

packets

Integer

start_time

Long

开始时间

end_time

Long

结束时间

log_id

String

文档ID

src_ip

String

源IP

src_port

Integer

源端口

dst_ip

String

目的IP

app

String

应用协议

dst_port

Integer

目的端口

protocol

String

协议类型:TCP为6,UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空

dst_host

String

目标主机

dst_region_id

String

目的地域id

dst_region_name

String

目的地域名称

src_region_id

String

源地域id

src_region_name

String

源地域名称

状态码: 400

表7 响应Body参数

参数

参数类型

描述

error_code

String

错误码

最小长度:8

最大长度:36

error_msg

String

错误描述

最小长度:2

最大长度:512

support.huaweicloud.com/api-cfw/ListFlowLogs.html