tencent cloud

Feedback

Four-layer Proxy Logs

Last updated: 2024-06-28 14:21:49
The following is a detailed description of the fields in the four-layer proxy logs.
Note:
In a TCP long connection scenario, EdgeOne periodically records logs and records the final log when the connection ends. You can determine whether the connection is disconnected by checking if the DisconnetReason field is empty. Additionally, you can use the SessionID to identify the connection, as logs with the same SessionID record the behavior of the same connection.
Under the four-layer proxy log type, real-time logs and offline logs record the same fields.
Field Name
Data Type
Description
ClientRealIP
String
Client Real IP.
ClientRegion
String
Two-letter country/region code of the client, compliant with ISO-3166 alpha-2 standard.
ConnectTimeStamp
Timestamp ISO8601
Connection Time, default UTC +0 timezone.
DisconnetReason
String
Disconnection Reason, if not disconnected during the current log cycle, the value is "-".
The format is "Direction: Reason"
Possible values for Direction are:
up: Origin Server Direction
down: Client Direction
Possible Reason Values are:
net_exception_peer_error: Error returned by read/write peer
net_exception_peer_close: Peer has closed the connection
create_peer_channel_exception: Failed to create channel to the next hop
channel_eof_exception: Channel has ended (when the request ends, the node that ends the request will send channel_eof to the adjacent node to inform it that the request has ended)
net_exception_closed: Connection has closed
net_exception_timeout: Read/write timeout
DisconnetTimeStamp
Timestamp ISO8601
Disconnection time, default UTC +0 timezone. If not disconnected during the current log cycle, the value is "-".
EdgeIP
String
Accessed EdgeOne server IP address.
ForwardPort
Integer
Customer-configured forwarding port.
ForwardProtocol
String
Customer-configured forwarding protocol TCP/UDP.
LogTimeStamp
Timestamp ISO8601
Log generation time; default UTC +0 timezone.
ReceivedBytes
Integer
Outbound traffic generated from the time of the previous log entry to this log entry, unit: Byte.
SentBytes
Integer
Inbound traffic generated from the time of the previous log entry to this log entry, unit: Byte.
ServiceID
String
Layer 4 proxy service unique identifier ID.
SessionID
String
Unique identifier ID for TCP connections or UDP sessions.


Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support