View user Google Drive file activity
As an administrator, you can use the Google Drive audit log to record your organization's user activity. The Google Drive audit log includes content your users create in Google Docs, Sheets, Slides, and other Google Workspace apps, and content that your users upload to Drive, such as PDFs and Microsoft Word files.
You can use the Activity API to programmatically access basic reports data. If your Google Workspace edition supports it, you can use a new Reports API to access advanced Google Workspace reports data.
- For details on when data becomes available and how long it's retained, go to Data retention and lag times.
- Drive audit events are logged only for files owned by users with supported editions.
- In your Google Admin console (at admin.google.com)...
- On the left, under Audit log, click Drive.
(Optional) To customize what data you see, on the right, click Manage columns . Select the columns that you want to see or hideclick Save.
(Optional) Review ways to filter and export log data and create alerts.
Understand Drive audit log data
File visibility and sharing permissions
When a user in your domain shares a file, a "User Sharing Permissions Change" event is added to the audit log.
To see files that are shared with users outside of a domain, under Visibility, select Shared Externally.
- If you share a file with someone outside your domain who doesn’t have a Google Account, the invitee must create a Google Account to share the file. The sharing permissions change event won't appear in the audit log until the invitee creates an account and opens the file.
- If you turn off external sharing and a user shares a resource with a group that allows external users, data is marked Shared Externally in the log. However, any external users in the group can’t access the shared resource. And, you’ll see this even if the group doesn’t have any external users.
At Add a filter, select an Event name to filter data for that event. The audit log shows entries for each time the particular event occurred during the time range that you set. Event names are self-explanatory.
When and how long is data available?
Go to Data retention and lag times.