The problem
A field was overwritten, records disappeared, or a report changed, and nobody knows who did it or what the old values were.
What audit logs give you
Audit logs show how users access apps and what changed in data and structure, including whether a change came through the UI or the API, the user, the resource and a link to it. Audit logs are on all plans. How long the data is kept depends on your plan.
Who can see what:
- Realm admins: the whole realm, from Admin Console → Audit Logs.
- App admins and super users: activity for their specific app.
Investigating an incident
- Narrow the window. Realm-level queries take a date range of one to seven days, so start from when the problem was noticed and work backwards.
- Filter by app, user email and, at app level, resource type (record, report, field) and resource ID.
- Search by Log ID to jump straight to a specific event across the whole retention period.
- Download the results for analysis. Realm admins can download in seven-day increments, and downloads include IDs, such as the user ID, that the screen may not show.
- Check API field usage. The API field usage resource type shows which fields are being used by API calls, which is useful before deleting or renaming a field an integration might depend on.
Getting the old values back
Realm admins can enable data change tracking on fields. Once it’s on, realm admins, app admins and super users can see what data changed in audit logs and restore previous values. Restoring is only available from the app-level audit log, not the realm-wide view. Tracking only covers changes made after it’s enabled, so turn it on for important fields now, before you need it.
How to prevent it
- Enable data change tracking on business-critical fields.
- Run integrations as named service accounts so API changes are attributable.
- If you need history beyond your plan’s retention, download logs regularly or sync them to your own storage.