All Products
Search
Document Center

Edge Security Acceleration:Instant logs

Last Updated:Nov 19, 2025

Instant logs is a lightweight, easy-to-use log service that requires no additional setup. It lets you view real-time site access logs in the ESA console to locate attacks, troubleshoot system failures, and debug or test site network connectivity.

Why use instant logs

Traditional Content Delivery Network (CDN) products often rely on offline logs to locate and verify business anomalies. However, offline logs have significant limitations in the following scenarios:

  • Locating cross-region faults: When users report access issues in a specific region, traditional methods, such as using single-node logs or high-latency network-wide logs, make it difficult to quickly find the root cause.

  • Verifying phased releases: After you configure a feature, you need to verify its effect on a small portion of traffic. Offline logs cannot quickly filter specific request records from the phased release.

  • Analyzing real-time attack features: To defend against new malicious attacks, you need to analyze network-wide request features in real time to create mitigation policies. The high latency of offline logs leads to delayed responses.

  • Monitoring business in seconds: During promotional events, you need to monitor request volume changes in real time. Statistics with minute-level latency are not responsive enough for dynamic policy adjustments.

  • Verifying new service onboarding: After a new customer configures a site, log latency makes it impossible to promptly confirm that the connection is working correctly. This impacts onboarding efficiency.

ESA instant logs provide real-time log viewing. You can monitor detailed site access information in the console at any time. This is similar to using the tail -f command in Linux or Unix to track file changes in real time.

Limits

  • A site can have only one active monitoring window at a time. A monitoring window can stay active for a maximum of 60 minutes.

  • Instant logs can store a maximum of 40 records at a time. Records are arranged chronologically, and the newest records overwrite the oldest ones.

  • After you start monitoring, the session is stopped by any of the following actions. To continue monitoring, click Start Monitoring again:

    • Expanding a log record, clicking Stop Monitoring, or clicking the image Export button stops the monitoring session. The historical log records remain on the Instant Logs page.

    • Adding a filter, switching to another page (such as the Offline Logs page), or refreshing the page stops the monitoring session. The historical log records are also deleted.

Start monitoring instant logs

  1. In the ESA console, choose Websites. In the Website column, click the target site.

  2. In the left navigation pane, choose Analytics and Logs > Instant Logs.

  3. On the Instant Logs page, click Start Monitoring to collect logs.

    • You can add Traffic Filter to narrow the scope of the logs and help locate anomalies.

    • After you stop monitoring, you can expand a log record to view detailed log fields. You can also click the image Export button on the right to download the data as a JSON file.

    image

Instant log fields

Field name

Data type

Description

BotTag

string

The traffic type of the client request. Examples:

  • Chrome

  • Java-sdk

  • Android-app-browser

  • Go-http-client

ClientASN

string

The autonomous system number (ASN) parsed from the client IP address.

ClientCountryCode

string

The ISO-3166 Alpha-2 code parsed from the client IP address.

ClientIP

string

The IP address of the client that connects to the ESA node.

ClientISP

string

The Internet Service Provider (ISP) information parsed from the client IP address.

ClientRegionCode

string

The ISO-3166-2 code parsed from the client IP address.

ClientRequestBytes

int

The size of the client request, in bytes.

ClientRequestHeaderRange

string

The value of the Range field in the client request header. Example: bytes=0-100.

ClientRequestHost

string

The Host information of the client request.

ClientRequestID

string

The unique identifier of the client request.

ClientRequestMethod

string

The HTTP Method of the client request.

ClientRequestPath

string

The path of the client request.

ClientRequestProtocol

string

The protocol of the client request.

ClientRequestQuery

string

The Query information of the client request.

ClientRequestReferer

string

The Referer information of the client request.

ClientRequestURI

string

The URI information of the client request.

ClientRequestUserAgent

string

The User-Agent information of the client request.

ClientSrcPort

int

The port used by the client to connect to the ESA node.

ClientSSLCipher

string

The Secure Sockets Layer (SSL) encryption suite of the client.

ClientSSLProtocol

string

The SSL protocol version of the client. A hyphen (-) indicates that SSL is not used.

ClientXRequestedWith

string

The X-Requested-With request header from the client.

EdgeCacheStatus

string

The cache status of the client request.

EdgeEndTimestamp

Timestamp ISO8601

The timestamp when the ESA node finished sending the response to the client. Example: 2024-01-01T00:00:00+08:00.

EdgeRequestHost

string

The Host information for the back-to-origin request from the ESA node.

EdgeResponseBodyBytes

int

The size of the response Body that the ESA node returns to the client, in bytes.

EdgeResponseBytes

int

The size of the response that the ESA node returns to the client, in bytes.

EdgeResponseCompressionAlgo

string

The compression algorithm of the response from the ESA node.

EdgeResponseCompressionRatio

float

The compression ratio of the response from the ESA node.

EdgeResponseContentType

string

The Content-Type of the response from the ESA node.

EdgeResponseStatusCode

int

The status code that the ESA node returns to the client.

EdgeResponseTime

int

The time elapsed from when the ESA node receives the client request to when the client finishes receiving the server response, in ms.

EdgeServerID

string

The unique identifier of the ESA node server that the client accessed.

EdgeServerIP

string

The IP address of the ESA node that the client accessed.

EdgeStartTimestamp

Timestamp ISO8601

The timestamp when the ESA node received the client request. Example: 2024-01-01T00:00:00+08:00.

JA3Hash

string

The hash value of the client's JA3 fingerprint.

JA4Hash

string

The hash value of the client's JA4 fingerprint.

EdgeTimeToFirstByteMs

int

The time to first byte (TTFB). This is the time from when the ESA node receives the client request to when the ESA node sends the first byte of the response to the client, in ms.

OriginDNSResponseTimeMs

int

The time taken to receive the DNS resolution response from the origin server. If no back-to-origin request is made, the value is -1. Unit: ms.

OriginIP

string

The origin IP address accessed during the back-to-origin request. If no back-to-origin request is made, the value is a hyphen (-).

OriginResponseDurationMs

int

The time to first byte from the origin server. If no back-to-origin request is made, the value is -1. Unit: ms.

OriginResponseHeaderRange

string

The Range information in the response from the origin server. If no back-to-origin request is made, the value is a hyphen (-).

OriginResponseHTTPExpires

string

The Expires information in the response from the origin server. If no back-to-origin request is made, the value is a hyphen (-).

OriginResponseHTTPLastModified

string

The Last-Modified information in the response from the origin server. If no back-to-origin request is made, the value is a hyphen (-).

OriginResponseStatusCode

int

The status code from the origin server's response. If no back-to-origin request is made, the value is -1.

OriginSSLProtocol

string

The SSL protocol version used to request the origin server. If no back-to-origin request is made, the value is a hyphen (-).

OriginTCPHandshakeDurationMs

int

The time taken to complete the TCP handshake when requesting the origin server. If no back-to-origin request is made, the value is -1. Unit: ms.

OriginTLSHandshakeDurationMs

int

The time taken to complete the TLS handshake when requesting the origin server. If no back-to-origin request is made, the value is -1. Unit: ms.

SecAction

string

The final mitigation action executed for this request.

SecActions

string

All mitigation actions executed for this request.

SecRuleID

string

The ID of the final mitigation rule executed for this request.

SecRuleIDs

string

The IDs of all mitigation rules executed for this request.

SecSource

string

The final mitigation rule executed for this request.

SecSources

string

All mitigation rules executed for this request.

SiteName

string

The site name.

SmartRoutingStatus

string

The status of the smart routing feature. 0 indicates that it is not used. 1 indicates that it is used.

TlsHash

string

The MD5 hash value that describes the SSL/TLS client fingerprint.

SampleInterval

float

The sample rate for the current log record. Sample rate = Number of sampled logs / Number of generated logs. For example, a sample rate of 0.5 means that one log was sampled for every two logs generated.

Feature availability by edition

Entrance

Pro

Premium

Enterprise

Not supported

Supported

Supported

Supported