How to create and manage Audit Trail exports
This page shows you how to export your Audit Trail event logs to an Object Storage bucket, and retrieve an export using the Scaleway console.
By default, your event logs are exported to the Standard storage class or to the storage class you have selected upon bucket creation.
Before you start
To complete the actions presented below, you must have:
-
A Scaleway account logged into the console
-
Owner status or IAM permissions allowing you to perform actions in the intended Organization
-
Created resources integrated with Audit Trail
-
Created an Object Storage bucket with object lock set up
How to create an export
- Click Audit Trail in the Monitoring section of the Scaleway console side menu.
- Click the Region drop-down and select a region in which you have Audit Trail events.
- Click Create export. You are prompted to create an event export.
- Fill out the required information to configure your destination bucket:
- In the Bucket region drop-down, select the region in which you have created your bucket.
- In the Bucket project drop-down, select the Scaleway project in which you have created your bucket.
- In the Destination bucket drop-down, select your bucket.
- In the Prefix field, enter a prefix to define the folder path where your event logs will be stored.
- Click Next to move on to the Audit Trail export creation step.
- Enter a name and optional tags for the Audit Trail export, then click Next.
- Review your export configuration and click Create export to confirm. Your export displays in the Exports tab.
How to retrieve and manage an export
- Click Object Storage in the Storage section of the Scaleway console side menu.
- Click the Region drop-down and select the region in which you have created your destination bucket.
- Click your destination bucket.
Your Audit Trail export folder displays. Inside this folder, you will find a
2025folder (corresponding to the year), in which you will find three other folders, for example,09,10, and11(corresponding to the last 3 months). Each of these folders contains aDDfolder corresponding to the day the event logs happened. Your Audit Trail export is located inside theDDfolder, as a JSON file. - Access the
YYYYfolder, the desiredMMfolder, and theDDfolder. Your export should display as follows:logs_xxxxxxxxx.json. - Click the download icon icon to download your export.
- Optionally, click the seeMore icon icon and click:
- More info to display object information
- Visibility to change your object visibility
- Object metadata to add information.
- Object tags to add tags
- Edit name to update the name of your file
- Get public link to publicly share your file
- Delete to delete your export from the bucket
How to delete an export
- Click Audit Trail in the Monitoring section of the Scaleway console side menu.
- Click the Region drop-down and select the region in which you have created your Audit Trail export.
- Click the Exports tab. Your export displays.
- Click the delete icon icon to delete your export.
- Type DELETE and click Delete export to confirm.
See Also
Still need help?Create a support ticket