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
Upload logs
1. Create a log upload
- In the Control Panel, on the top menu, click Products and select Object Storage.
- Go to the Logs section.
- Select a region and pool.
- Click Create Upload.
- Specify the period for which you want to upload logs.
- Optional: select the fields that will be displayed in the logs.If not selected, all fields will be displayed in the upload.
- 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.
- 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.
- 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.
- Click Create Upload.The upload will appear on the Log Upload Log page with a status of
IN PROGRESS
.When the upload goes toDONE
status, you can download it.
2. Download the log upload
You can download a log upload that has not expired.
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.
- In the Control Panel, on the top menu, click Products and select Object Storage.
- Go to the Logs section.
- 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.
- In the Control Panel, on the top menu, click Products and select Object Storage.
- Go to the Logs section.
- 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 toDONE
status, you can download it.