You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use case: you want to verify that the CDN is delivering the correct status code for a given URL consistently.
The below query gets the last 1000 requests for a URL, groups by status code and lists for each status code the first and last time it has been seen.
SELECT status_code, COUNT(time) AS requests, MIN(time) AS first, MAX(time) AS last FROM (
SELECT TIMESTAMP_MICROS(CAST(time_start_usec AS INT64)) AStime, status_code FROM`helix-225321.helix_logging_6v0sHgrPTGUGS5PHOXZ0H1.requests202101*`WHERE req_http_X_URL ="/en/publish/2020/12/15/the-future-of-government-keeping-government-business-moving-with-fast-frictionless-digital-procurement.html"ORDER BYtimeASCLIMIT1000
)
GROUP BY status_code
Use case: you want to verify that the CDN is delivering the correct status code for a given URL consistently.
The below query gets the last 1000 requests for a URL, groups by status code and lists for each status code the first and last time it has been seen.
The text was updated successfully, but these errors were encountered: