To get logs in the Control panel:
Open the Logs tab.
Click Export logs.
Select a period for creating logs.
Choose a provider: Selectel or Akamai.
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 origin.example.com Content origin hostname client_ip 0.0.0.0 Client’s IP host a5d93d26-f978-4e0b-a070-83f1e43e542b.selcdn.net 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:/example.com/images/5 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
You can create an upload for a specific domain or for all domains at once.
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.
By default, the logs will be stored in the logs container created automatically. If necessary, enter a different container.
Click Export logs. Unloading creation time depends on the period and set parameters.