Skip to main content
Logs in object storage

Logs in object storage

The logs contain information about requests to public containers.

You can upload logs through the control panel.You can also work with logs through the Servercore Storage API.

The uploaded logs are saved to the selected container.Log storage is charged in the same way as storing other objects in the storage, see the Object Storage Fee Model and Pricing instructions for details.

Log fields

client_ipIP address from which the request came
client_to_server_bytesNumber of bytes transferred during a request to the storage
container_nameThe name of the container to which the request was made
hostHost header — the address at which the request was made
http_methodHTTP method of request to storage
pathThe path to the container or object in the storage to which the request was made
queryRequest parameters
server_to_client_bytesNumber of bytes transferred in response to a request
statusHTTP status code in response to a request
timestampDate and time of logging

Upload logs

  1. Create a log upload.
  2. Download the log upload.

1. Create a log upload

  1. In the Control Panel, on the top menu, click Products and select Object Storage.
  2. Go to the Logs section.
  3. Select a region and pool.
  4. Click Create Upload.
  5. Specify the period for which you want to upload logs.
  6. Optional: select the fields that will be displayed in the logs.If not selected, all fields will be displayed in the upload.
  7. Optional: select the containers, logs for which will be included in the upload.If you do not select containers, logs for all containers will be included in the upload.
  8. Optionally: specify a retention period for logs or leave indefinite retention.When the retention period expires, the log file will be deleted from the container.
  9. Select the container in which the log file will be saved.If there are no containers in the repository, click Create Container and create a new container.
  10. Click Create Upload.The upload will appear on the Log Upload Log page with a status of IN PROGRESS.When the upload goes to DONE status, you can download it.

2. Download the log upload

You can download a log upload that has not expired.

For your information

If the deadline has expired, the upload will be displayed on the Log Upload Log page, but the log file will be deleted and the download will be unavailable.You can recreate the upload with the same parameters.

  1. In the Control Panel, on the top menu, click Products and select Object Storage.
  2. Go to the Logs section.
  3. From the upload menu, select Download Upload.

Re-create log upload

If the storage period of the log file has expired or an error occurred when creating the upload, you can repeat the upload with the same parameters.

  1. In the Control Panel, on the top menu, click Products and select Object Storage.
  2. Go to the Logs section.
  3. From the menu of the upload, select Recreate Upload.The new upload will be added as a separate line on the Log Upload Log page with a status of IN PROGRESS.When the upload goes to DONE status, you can download it.