Audit logs

All Appwrite products, like Authentication, Databases, Storage, Functions, and Messaging, provide detailed audit logs. Audit logs are important in detecting and responding to security incidents. Through audit logs, you can detect incidents through anomalous activities, trace the source of security incidents, and understand the scope of users affected so you can respond more quickly and effectively.

Access audit logs

You can access audit logs for different products under the Activity tab where applicable. Logs are available for collections, documents, and individual users.

Project settings screen

Project settings screen

Format

Audit log entries under the Activity tab has the following structure. Each entry describes an event.

ColumnDescription
UserName of the user that performed the event.
EventThe name of the event.
LocationThe physical of the user when they performed the action.
IPThe IP of the user when they performed an action.
DateThe date and time of the event.

Retention

GDPR data retention rules require any personal data that is collected or processed to be kept only for as long as data are required to achieve the purpose for which the information was collected. For this reason, audit logs are retained for only 7 days for Pro organizations and 1 hour for Starter organizations.