Event Diary
Learn how transactions on your account are logged and how to access this data.
What is an Activity Log?
ActivityLog records user, site, action, metadata, IP and created_at information. The goal is to be able to trace back who did what on the account with a timestamp.
Record Types
| Action | Description |
|---|---|
site.created |
New site added. |
site.deleted |
Site deleted. |
site.down |
Incident opened or site down seen. |
site.recovered |
Open incident closed with recovery. |
site.degraded |
Partial deterioration was recorded. |
settings.updated |
Profile, password or notification preferences have been updated. |
maintenance.enabled |
Maintenance mode has been switched on. |
maintenance.disabled |
Maintenance mode is closed. |
Access
On the panel side, the activity screen is located in the /activity route. This page shows the last records in a pagination of 25 with action, from and to filters.
On the API side, the /sites/{site}/audit-log endpoint takes a per_page parameter and returns up to 100 records. The response contains action, user, ip, metadata and created_at fields.
The uptime:prune-activity-logs command in Scheduler runs daily and by default deletes activity log records older than 90 days.