Mode | Description |
Interactive Mode | Add filter conditions by selecting a field, operator, and value. Conditions within the same group are joined by AND, while different groups are joined by OR. When you switch from Interactive mode to Query mode, the configured filter conditions are automatically converted into a search query and populated in the input box. |
Statement Mode | Write filter conditions as a search query. You can also append an SQL statement using the pipe character | for statistical analysis. |

|:[Filter Expression] | [SQL]

${…}, such as ${RequestHost} and ${EdgeResponseStatusCode}.in or >.['POST']. Numeric values can be specified directly, for example, >500.${ClientRegion} in ['SG','TH'] AND ${EdgeResponseStatusCode} in [404]. This expression matches logs where the client country/region is Singapore or Thailand and the edge response status code is 404.Operator | Description |
AND | Matches when both conditions are true. |
OR | Matches when either condition is true. |
NOT | Negates the condition that follows. |
Term | Operator | Description | Example |
Equal to | in | Matches when the field value is included in the specified list. | ${RequestHost} in ['example.com', 'demo.com'] |
Not in | not ${…} in | Matches when the field value is not included in the specified list. | not ${RequestMethod} in ['GET'] |
Greater than | > | Matches when the numeric field value is greater than the specified value. | ${EdgeResponseTime} > 500 |
| to aggregate the matching logs. SQL follows MySQL-style syntax with the following conventions:"ClientIP".select "ClientIP", count(*) as cnt: Selects the client IP and the number of matching log entries. count(*) counts the entries and as cnt names the result column.group by "ClientIP": Groups the results by client IP so that the number of entries is calculated separately for each IP.order by cnt desc: Sorts the results by count in descending order.limit 100: Returns only the first 100 rows.${RequestHost} in ['example.com'] | select "ClientIP", count(*) as cnt group by "ClientIP" order by cnt desc limit 100
${RequestHost} in ['example.com'] and ${EdgeResponseTime} > 500
${RequestHost} in ['example.com'] and ${EdgeResponseStatusCode} in ['404', '500']
${SecurityRuleID} in ['2123456789'] and ${SecurityAction} in ['Deny', 'Monitor']
${SecurityMatchingPosition} in ['Full request path'] and ${SecurityAction} in ['drop']
${RequestHost} in ['example.com'] | select "EdgeResponseStatusCode", count(*) as cnt group by "EdgeResponseStatusCode" order by cnt desc
${RequestHost} in ['example.com'] | select "ClientIP", count(*) as cnt, round(count(*)*100.0/(select count(*)), 2) as pct group by "ClientIP" order by cnt desc limit 100
${RequestHost} in ['example.com'] | select avg("EdgeResponseTime") as avg_time, max("EdgeResponseTime") as max_tim
Filter Item Name | Filter Name | Data Type | Operator |
Log Time | LogTime | Equal to | |
Request ID. | RequestID | String | Equal to, Not equal to |
Content ID | ContentID | String | Equal to, Not equal to |
Request Completion Time | EdgeEndTime | Equal to, Greater than | |
Edge Function Subrequest | EdgeFunctionSubrequest | Integer | Equal to, Not equal to |
Edge Function Parent Request ID | ParentRequestID | String | Equal to, Not equal to |
Filter Item Name | Filter Name | Data Type | Operator |
Request domain | RequestHost | String | Equal to |
Request method | RequestMethod | String | Equal to, Not equal to |
Request Time | RequestTime | Equal to | |
Request URL | RequestUrl | String | Equal to, Not equal to |
Request URL parameters | RequestUrlQueryString | String | Equal to, Not equal to |
Referer | RequestReferer | String | Equal to, Not equal to |
User-Agent | RequestUA | String | Equal to, Not equal to |
HTTP protocol | RequestProtocol | String | Equal to, Not equal to |
HTTP/HTTPS | RequestScheme | String | Equal to, Not equal to |
TLS version | RequestSSLProtocol | String | Equal to, Not equal to |
Request status | RequestStatus | String | Equal to, Not equal to |
Request range | RequestRange | String | Equal to |
Request length (bytes) | RequestBytes | Integer | Equal to, Greater than |
Request body length (bytes) | RequestBodyBytes | Integer | Equal to, Greater than |
Edge node port | RemotePort | Integer | Equal to, Not equal to |
Filter Item Name | Filter Name | Data Type | Operator |
Client IP Address | ClientIP | String | Equal to, Not equal to |
Client Country/Region | ClientRegion | String | Equal to, Not equal to |
Client Administrative Region (Chinese mainland) | ClientState | String | Equal to, Not equal to |
Client ISP | ClientISP | String | Equal to, Not equal to |
Device Type | ClientDeviceType | String | Equal to, Not equal to |
Client Port | ClientPort | Integer | Equal to, Not equal to |
Client Connection ID | ClientConnectionID | String | Equal to, Not equal to |
Filter Item Name | Filter Name | Data Type | Operator |
Cache status | EdgeCacheStatus | String | Equal to, Not equal to |
Response status code | EdgeResponseStatusCode | Integer | Equal to, Not equal to |
Total response length (bytes) | EdgeResponseBytes | Integer | Equal to, Greater than |
Response body length (bytes) | EdgeResponseBodyBytes | Integer | Equal to, Greater than |
Internal processing time (ms) | EdgeInternalTime | Integer | Equal to, Greater than |
Total response time (ms) | EdgeResponseTime | Integer | Equal to, Greater than |
Filter Item Name | Filter Name | Data Type | Operator |
Edge server ID | EdgeServerID | String | Equal to, Not equal to |
Edge server IP | EdgeServerIP | String | Equal to, Not equal to |
Edge node country/region | EdgeServerRegion | String | Equal to, Not equal to |
Edge node administrative division (Chinese mainland) | EdgeServerRegionTopDivision | String | Equal to, Not equal to |
Edge exception information | EdgeException | String | Equal to, Not equal to |
Filter Item Name | Filter Name | Data Type | Operator |
Origin DNS resolution time (ms) | OriginDNSResponseDuration | Double | Equal to, Greater than |
Origin IP Address | OriginIP | String | Equal to, Not equal to |
Origin request header transmission time (ms) | OriginRequestHeaderSendDuration | Double | Equal to, Greater than |
Origin response header wait time (ms) | OriginResponseHeaderDuration | Double | Equal to, Greater than |
Origin response status code | OriginResponseStatusCode | Integer | Equal to, Not equal to |
Origin TLS version | OriginSSLProtocol | String | Equal to, Not equal to |
Origin TCP handshake time (ms) | OriginTCPHandshakeDuration | Double | Equal to, Greater than |
Origin TLS handshake time (ms) | OriginTLSHandshakeDuration | Double | Equal to, Greater than |
Filter Item Name | Filter Name | Data Type | Operator |
Action | SecurityAction | String | Equal to, Not equal to |
Rule ID | SecurityRuleID | String | Equal to, Not equal to |
Rule category | SecurityModule | String | Equal to, Not equal to |
Bot intelligent analysis characteristic | BotCharacteristic | String | Equal to, Not equal to |
Network attack risk level | BotClassAttacker | String | Equal to, Not equal to |
Malicious Bot risk level | BotClassMaliciousBot | String | Equal to, Not equal to |
Network proxy risk level | BotClassProxy | String | Equal to, Not equal to |
Scanner risk level | BotClassScanner | String | Equal to, Not equal to |
Account takeover attack risk level | BotClassAccountTakeOver | String | Equal to, Not equal to |
Bot Tag | BotTag | String | Equal to, Not equal to |
Request JA3 fingerprint | JA3Hash | String | Equal to, Not equal to |
Filter Item Name | Filter Name | Data Type | Operator |
Site | RequestHost | String | Equal to, Not equal to |
Request ID. | RequestID | String | Equal to, Not equal to |
Request Time | RequestTime | Equal to | |
Request method | RequestMethod | String | Equal to, Not equal to |
User-Agent | RequestUA | String | Equal to, Not equal to |
Request URI | RequestURI | String | Equal to, Not equal to |
Request body (first 10 KB) | RequestBody | String | Equal to, Not equal to |
Filter Item Name | Filter Name | Data Type | Operator |
Client IP Address | ClientIP | String | Equal to, Not equal to |
Client Country/Region | ClientCountry | String | Equal to, Not equal to |
Filter Item Name | Filter Name | Data Type | Operator |
Rule ID | SecurityRuleID | String | Equal to, Not equal to |
Rule category | SecurityModule | String | Equal to, Not equal to |
Action | SecurityAction | String | Equal to, Not equal to |
Matching field. | SecurityMatchingField | String | Equal to, Not equal to |
Matching position | SecurityMatchingPosition | String | Equal to, Not equal to |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback