跳转到内容
搜索文档

WebSocket 分析

最后更新 查看 MarkdownAgent 设置

以下描述详细介绍了 websocket_analytics 的可用字段。

BytesReceivedClient

Type: int

从客户端接收的字节数。

BytesReceivedOrigin

Type: int

从源站接收的字节数。

BytesSentClient

Type: int

发送到客户端的字节数。

BytesSentOrigin

Type: int

发送到源站的字节数。

ClientASN

Type: int

客户端的自治系统号(ASN)。

ClientIP

Type: string

客户端 IP 地址。

ClientRequestHost

Type: string

客户端在 WebSocket 升级请求中请求的主机。

ClientRequestPath

Type: string

客户端在 WebSocket 升级请求中请求的路径。

ClientRequestUserAgent

Type: string

客户端报告的 User-Agent。

ColoCode

Type: string

处理连接的数据中心的 IATA 机场代码。

ConnectionCloseReason

Type: string

WebSocket 连接结束的原因。
可能的值为 none | unspecifiedError | timedOut | peerReset | upstreamReset | protocolViolation | peerNoError

ConnectionCloseSource

Type: string

哪一方发起了连接关闭。
可能的值为 upstream | downstream | me | both,或者如果无法识别则是原始内部值。

ConnectionID

Type: string

WebSocket 连接的唯一标识符,十六进制编码。

ConnectionTransportCloseCode

Type: int

观察到的第一个传输级关闭代码。对于 TLS 连接,这是 TLS 警报代码;对于普通 TCP 连接(无 TLS),它始终为 0。最高有效位指示来源:0 = 代理发起,1 = 访客发起。

EdgeEndTimestamp

Type: int or string

WebSocket 连接关闭的时间戳。要指定时间戳格式,请参阅 Output types

EdgeStartTimestamp

Type: int or string

建立 WebSocket 连接的时间戳。要指定时间戳格式,请参阅 Output types

RayID

Type: string

WebSocket 升级请求的 Ray ID。

这篇文档对您有帮助吗?