Logs in S3
The logs contain information about requests to public buckets.
You can upload logs through the control panel. You can also work with logs via the Object Storage API.
Uploaded logs are stored in the selected bucket. Storage of logs is charged in the same way as storage of other objects in the storage, more details in the S3 Payment and Price Model instruction.
Log fields
Upload logs
1. Create a log upload
- In the control panel, on the top menu, click Products and select S3.
- 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 bucket logs for which logs will be included in the upload. If you do not select bacteria, all bacteria logs will be included in the upload.
- Optionally: specify logs storage period or leave indefinite storage. After the retention period expires, the log file will be deleted from the bucket.
- Select the bucket in which the log file will be saved. If there are no bucket in the storage, click Create bucket and create a new bucket.
- Click Create Upload. The upload will appear on the Log Upload Log page with a status of
IN PROGRESS. When the upload goes toDONEstatus, 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 not be available. You can recreate the upload with the same parameters.
- In the control panel, on the top menu, click Products and select S3.
- Go to the Logs section.
- From theupload 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 S3.
- Go to the Logs section.
- From theUpload menu, 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 isDONE, you will be able to download it.