Project event logs
Monitor activity in your Aiven projects with the project event logs, which show all activity in the project and its services. Event logs are retained for 30 days.
Required roles or permissions:
project:event_logs:read, role:project:admin, role:project:manager, or role:organization:adminView project event logs
- Click Projects and choose a project.
- Click Event log.
Export project event logs
You can download a CSV file of the last 30 days of your project's event logs. The filters you apply to the event logs are also applied to the downloaded file.
- Console
- API
- In the project, click Event logs.
- Click Export logs.
Call the ProjectEventLogsDownload endpoint.
curl --request POST \
--url https://api.aiven.io/v1/organization/ORGANIZATION_ID/project/PROJECT_ID/event-logs/download \
--header 'Authorization: Bearer BEARER_TOKEN' \
--header 'content-type: application/json' \
--output event-logs.csv \
--data '
{
"from_time": "FROM_TIME",
"to_time": "TO_TIME",
"asset_filters": {
"service_id": "SERVICE_NAME"
}
}
'
Where:
ORGANIZATION_IDis the ID of the organization that the project belongs to.PROJECT_IDis the name of your project.BEARER_TOKENis your authentication token.FROM_TIMEis the start of the time range in ISO 8601 UTC format, for example2026-06-15T10:00:00Z. Defaults to 30 days before the current time.TO_TIMEis the end of the time range in ISO 8601 UTC format. If not specified, no upper time bound is applied.SERVICE_NAMEis the name of a service to filter by.
All request body fields are optional. To export all events from the last 30 days, send an empty JSON object as the request body.
To filter the exported logs, use the following fields in the request body:
asset_filters: Filter byactor,actor_user_id, orservice_id.event_types: An array of event types to include, for example["service_create", "service_update"].
Related pages