CDN Logs

To get logs in the Control panel:

  1. Open the Logs tab.

  2. Click Export logs.

  3. Select a period for creating logs.

  4. Choose a provider: Selectel or Akamai.

  5. For the convenience of working with logs, you can select certain fields for unloading:

    Variable Example Value Explanation
    timestamp 2020-07-07T06:36:54Z Request time
    origin_host Content origin hostname
    client_ip Client’s IP
    host CDN resource or request hostname
    server_to_client_bytes 2884 The number of bytes transferred to the user
    http_method GET HTTP request type
    path /images/1.jpg Requested file path
    status 200 The response code from the edge server
    referer https:/ What URL the user came from
    cache_status HIT The status of the requested file in the CDN cache:
    HIT — the file was found in cache;
    STALE — the file is expired because the source did not respond or did not respond correctly when updating the cache;
    UPDATING — the file is expired because it is currently being updated after a previous request;
    REVALIDATED — as a result of running the proxy_cache_revalidate directive, it was determined that the file on the source has not changed;
    EXPIRED — the cache has expired, but the file corresponds to the file from the source. A request was sent to the source for re-caching;
    MISS — the file was not found in cache, it was proxied from the source
  6. You can create an upload for a specific domain or for all domains at once.

  7. Enter the time after which the logs will be deleted. If you do not specify it, the logs will be stored until you delete them. Log storage is paid the same as storing any other files in your storage. Learn more about Cloud Storage billing and payment.

  8. By default, the logs will be stored in the logs container created automatically. If necessary, enter a different container.

  9. Click Export logs. Unloading creation time depends on the period and set parameters.