L4 Proxy Logs
The following are detailed descriptions for the fields in L4 proxy logs.
Note:
In a long TCP connection scenario, EdgeOne records logs periodically and the last log entry is recorded when the connection ends. You can judge the connection status by checking whether the
DisconnetReason
field is empty. Additionally, you can use the SessionID
to identify the connection. The logs with the same SessionID
record the actions of the same connection.Under the L4 Proxy Logs type, real-time logs and offline logs record the same fields.
Field Name | Data Type | Description |
ClientRealIP | String | Real IP address of the client. |
ClientRegion | String | |
ConnectTimeStamp | Timestamp ISO8601 | Connection time, UTC +0 time zone by default. |
DisconnetReason | String | Disconnection reason. If not disconnected during the current log cycle, the value is -. The format is Direction: Reason. Valid values for the direction include: up: origin server direction down: client direction Valid values for the reason include: net_exception_peer_error: Read/Write peer error. net_exception_peer_close: The peer has closed connection. create_peer_channel_exception: Failed to create a channel to the next hop. channel_eof_exception: Channel has ended (when the request ends, the node ending the request will send channel_eof to the adjacent node, informing it that the request has ended). net_exception_closed: Connection has closed. net_exception_timeout: Read/Write timed out. |
DisconnetTimeStamp | Timestamp ISO8601 | Disconnection time, UTC +0 time zone by default. If not disconnected during the current log cycle, the value is -. |
EdgeIP | String | IP address of the accessed EdgeOne server. |
ForwardPort | Integer | Customer-configured forwarding port. |
ForwardProtocol | String | Customer-configured forwarding protocol TCP/UDP. |
LogTimeStamp | Timestamp ISO8601 | Log generation time, UTC +0 timezone by default. |
ReceivedBytes | Integer | Outbound traffic generated from the recording time of the previous log entry to the recording time of this log entry, in bytes. |
SentBytes | Integer | Inbound traffic generated from the recording time of the previous log entry to the recording time of this log entry, in bytes. |
ServiceID | String | Unique identifier ID of the L4 proxy service. |
SessionID | String | Unique identifier ID of the TCP connection or UDP session. |