Export audit logs manually
For your information
Audit logs can be exported manually by the Account Owner and a Control panel user with a permission in which the member role in the Account scope or the audit_logs.admin role is selected.
You can export audit logs in CSV or JSON format. The maximum number of rows in an export is 1000.
You can export all audit logs or logs filtered by project, service, or event. You can also export audit logs with operations of a specific user.
Export all audit logs or by filters
- In the control panel, in the top menu, click Products and select Audit Logs.
- In the Manual export section, click Export logs.
- Select the report period. You can select a period within the last 90 days.
- Optional: to export audit logs for specific projects, select the desired projects. If no projects are selected, audit logs will be exported for all projects.
- Optional: to export audit logs for specific services, select the desired services. If no services are selected, audit logs will be exported for all services.
- Optional: to export audit logs for specific events, select the desired events. If no events are selected, audit logs will be exported for all events. If no events are selected but services are selected, audit logs will be exported for all events of the selected services.
- Select the report format.
- Click Export logs. Once the export is generated, it will download automatically, and a notification will appear in the control panel.
Export audit logs by user
Audit logs for a user are exported for the last 30 days.
- In the control panel, in the top menu, click Products and select IAM.
- In the Permissions overview section, in the user row, click .