Logs
In logs contains information about requests to public containers.
You can dump logs through the control panel. You can also work with logs via Selectel Storage API.
Uploaded logs are stored in the selected container. Storage of logs is charged in the same way as storage of other objects in the storage, see the instructions for details Object storage fee and pricing model.
Log fields
Upload logs
Create a log upload
- In control panels go to Object storage → Logs.
- Select region and pool.
- Click Create upload.
- Specify the period for which you want to upload logs.
- Optional: select fields which will be displayed in the logs. If not selected, all fields will be displayed in the upload.
- Optional: select containers for which logs 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 the logs or leave the storage indefinite. 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 storage, click Create a container and create a new container.
- Click Create upload.
The upload will appear on the page Log upload log status
IN PROGRESS
. When the upload goes to the statusDONE
you'll be able to download it.
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 page Log upload logBut the log file will be deleted and the download will not be available. You can recreate the upload with the same parameters.
- In control panels go to Object storage → Logs.
- On the menu. uploads, select Download the 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 control panels go to Object storage → Logs.
- On the menu. uploads, select Re-create upload.
The new upload will be added as a separate line on the page Log upload log status
IN PROGRESS
. When the upload goes to the statusDONE
you'll be able to download it.