Drive log events - Google Workspace Admin Help (2024)

View user Google Drive file activity

Depending on your Google Workspace edition, you might have access to the security investigation tool, which has more advanced features. For example, super admins can identify, triage, and take action on security and privacy issues. Learn more

As your organization's administrator, you can run searches and take action on Drive log events. For example, you can view a record of actions to see your organization's user activity in Drive. Drive log events include 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.

Important:

  • Not all activities in Drive are logged. For a list of what’s included in the log, on this page see Logged and unlogged events.
  • For details on when data becomes available and how long it's retained, go to Data retention and lag times.
  • Most Drive audit events are logged only for files owned by users with supported editions.The exceptions are URL Accessed events, which are logged when the user who starts an Apps Script script that accesses a URL is in your organization and has a supported edition.

Forward log event data toGoogle Cloud

You can opt in to share log event data with Google Cloud. If you turn on sharing, data is forwardedto Cloud Loggingwhere you can query and view your logs and control how you route and store your logs.

The type of log event data you can share with Google Cloud depends on your Google Workspace, Cloud Identity, or Essentials account.

Run a search for log events

Your ability to run a search depends on yourGoogle edition, your administrative privileges, and the data source. You can run a search on all users, regardless of their Google Workspace edition.

Audit and investigation tool

To run a search for log events, first choose a data source. Then choose one or more filters for your search.

  1. Sign in to your GoogleAdminconsole.

    Sign in using your administrator account (does not end in @gmail.com).

  2. In the Admin console, go to MenuDrive log events - Google Workspace Admin Help (1)Drive log events - Google Workspace Admin Help (2)Drive log events - Google Workspace Admin Help (3)ReportingDrive log events - Google Workspace Admin Help (4)Audit and investigationDrive log events - Google Workspace Admin Help (5)Drive log events.

  3. Click Add a filter, and then select an attribute.
  4. In the pop-up window, select an operatorDrive log events - Google Workspace Admin Help (6)select a valueDrive log events - Google Workspace Admin Help (7)clickApply.
    • (Optional) To create multiple filters for your search, repeat this step.
    • (Optional) To add a search operator, above Add a filter,selectAND or OR.
  5. Click Search.

    Note: Using theFiltertab, you can include simple parameter and value pairs to filter the search results. You can also use theCondition buildertab, where the filtersare represented as conditions with AND/OR operators.

Security investigation tool

Supported editions for this feature: Frontline Standard; Enterprise Standard and Enterprise Plus; Education Standard and Education Plus; Enterprise Essentials Plus; Cloud Identity Premium. Compareyouredition

To run a search in the security investigation tool, firstchoosea data source.Then, choose one or more conditions for your search. For each condition, choose an attribute, an operator, and a value.

  1. Sign in to your GoogleAdminconsole.

    Sign in using your administrator account (does not end in @gmail.com).

  2. In the Admin console, go to MenuDrive log events - Google Workspace Admin Help (8)Drive log events - Google Workspace Admin Help (9)Drive log events - Google Workspace Admin Help (10)SecurityDrive log events - Google Workspace Admin Help (11)Security centerDrive log events - Google Workspace Admin Help (12)Investigation tool.

  3. Click Data source and selectDrive log events.
  4. Click Add Condition.
    Tip: You can include one or more conditions inyour search or customize your search with nested queries. For details, go toCustomize your search with nested queries.
  5. ClickAttributeDrive log events - Google Workspace Admin Help (13)select an option.
    For a complete list of attributes, go to the Attribute descriptions section (later on this page).
  6. Select anoperator.
  7. Enter a value or select a value from the list.
  8. (Optional) To add more search conditions, repeat steps 4–7.
  9. Click Search.
    You can review the search results from the investigation tool in a table at the bottom of the page.
  10. (Optional) To save your investigation, clickSaveDrive log events - Google Workspace Admin Help (14)Drive log events - Google Workspace Admin Help (15)entera titleand descriptionDrive log events - Google Workspace Admin Help (16)clickSave.

Notes

  • In the Condition builder tab, filters are represented as conditions with AND/OR operators. You can also use the Filter tab to include simple parameter and value pairs to filter the search results.
  • If you gave a user a new name, you will not see query results with the user's old name. For example, if you rename [email protected] to [email protected], you will not see results for events related to [email protected].

Attribute descriptions

For this data source, you can use the following attributes when searching log event data:

Note:

  • Not all attributes in the following list are reported for all events.
  • The following list is not exhaustive and is subject to change. For more details about Drive log events, go to Drive Audit Activity Events on the Google Workspace Admin SDK website.
Attribute Description
Actor Email address of the user who performed the action. Users external to the domain are shown as anonymous, except when they view or edit a document explicitly shared with them (as an individual or as part of a specific group)
Actor group name

Group name of the actor. For more information, go toFiltering results by Google Group.

To add a group to your filtering groups allowlist:

  1. Select Actor group name.
  2. Click Filtering groups.
    The Filtering groups page displays.
  3. Click Add Groups.
  4. Search for a group by entering the first few characters of its name or email address. When you see the group you want, select it.
  5. (Optional) To add another group, search for and select the group.
  6. When you finish selecting groups, click Add.
  7. (Optional) To remove a group, click Remove group Drive log events - Google Workspace Admin Help (17).
  8. Click Save.
Actor organizational unit Organizational unit of the actor
API method For Download and Item content accessed actions that occur through a third-party app, the API method used by the action. For example, drive.files.export.
App ID Oauthclient ID of the third-party app that performed the action
App name The app that performed the action
Audience Target domain in case the audit log is for a visibility change
Billable (Essentials edition only) Whether the user action is a chargeable activity
Date

Date and time the event occurred (displayed in your browser's default time zone)

Note: Most events are logged when they’re complete. Sometimes large uploads can take a while to log.

Document ID

Unique Drive item identifier associated with the activity, as stored in the URL link for the file.

Note: For URL Accessed events, document ID and other file-related fields, such as document type and owner, are reported only for certain actions. For details, on this page see URL accessed.

Document type File format that the activity involves, such as Google Docs, Sheets, Slides, JPEG, PDF, PNG, MP4, Microsoft Word, Excel, PowerPoint, txt, HTML, MPEG audio, QuickTime video, folder, or shared drives
Domain* The domain where the action occurred
Encrypted* Whether the file is client-side encrypted
Event name

User-initiated events such as View, Rename, Create, Edit, Print,Delete, Upload, andDownload.

Most actions are logged immediately. However, Printevents in the Drive viewer can be delayed 12 hours or more from the time of the event. Files that are automatically deleted by Google Drive or emptied from Trash are logged. Other events, such as uploading a file, are logged once they’re complete.

IP address*

Address from where the user performed the activity. This might reflect the user's physical location, but it can be something else like a proxy server or a Virtual Private Network (VPN) address.

No IP addresses are logged for events:

  • Started by users external to the domain
  • From services that don't log the IP address in their requests
  • Relating to renaming or deleting a shared drive
New publish visibility value New visibility of the document
New value* New value of the changed setting
New value IDs* New value of the label field
Old publish visibility value Old visibility of the document if the activity is a visibility change
Old value* Old value of the changed setting
Old value IDs* Old value of the label field
Owner

User who owns the file.

Prior visibility Previous visibility of the document in case visibility is changed
Recipients* Email addresses of the recipients
Shared drive ID The Drive ID of the shared drive containing the file. If the file is not in a shared drive, this field isn't populated.
Target User whose access is changed
Title Title of the document
Visibility Visibility of the Drive item associated with the activity
Visibility change Visibility of the Drive item before the activity
Visitor Yes means that the activity is by a non-Google user. No means that the activity is by a Google user. Learn more about sharing documents with visitors.

* You cannot create reporting rules with these filters. Learn more about reporting rules versus activity rules.

Note: If you gave a user a new name, you will not see query results with the user's old name. For example, if you rename [email protected] to [email protected], you will not see results for events related to [email protected].

View files shared outside of a domain

To see files that are shared with users outside of a domain:

Audit and investigation page

  1. Open the log events as described above in Open Drive log event data.
  2. Click Add a filterDrive log events - Google Workspace Admin Help (18)Visibility, then select Shared externally.
  3. Click Search.

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, even if the group doesn’t have any external users. However, external users in the group can’t access the shared resource.

Security investigation tool

  1. Sign in to your GoogleAdminconsole.

    Sign in using your administrator account (does not end in @gmail.com).

  2. In the Admin console, go to MenuDrive log events - Google Workspace Admin Help (19)Drive log events - Google Workspace Admin Help (20)Drive log events - Google Workspace Admin Help (21)SecurityDrive log events - Google Workspace Admin Help (22)Security centerDrive log events - Google Workspace Admin Help (23)Investigation tool.

  3. Click Data sourceDrive log events - Google Workspace Admin Help (24)select Drive log events.
  4. Click Add Condition.
  5. Click AttributeDrive log events - Google Workspace Admin Help (25)select Visibility.
  6. Click ContainsDrive log events - Google Workspace Admin Help (26)select Is.
  7. Click VisibilityDrive log events - Google Workspace Admin Help (27)select Shared externally.
  8. Click Search.
    You can review the search results from the investigation tool in a table at the bottom of the page.

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, 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.

Logged and unlogged events

Delete

Files that are automatically deleted by Google Drive or emptied from Trash are logged.

Copy

When a file is copied, Create and Copy events are logged for the new file, and a Source Copy event is logged for the original file.

When a user outside of your organization copies a file to an external location, your organization doesn’t log the Create and Copy events because the new file is external. However, your logs have the Source Copy event on the original file with a Copy Type of External. To monitor when data is copied out of your organization, you can review Source Copy events that have an External copy type.

Print

Print events aren't recorded when a user prints a filed opened in a Google file formats (Docs, Sheets, Slides, Drawings, and Forms).

When printing files with the Drive app from an Apple iPhone and iPad or Android device, Print events might be logged as Download events.

Download

Most downloads are logged, including when files are copied between Drive and a local device using Google Drive for desktop.

Some View actions are logged as downloads:

  • Previewing a file in the Drive app on a mobile device is logged as a Download event.
  • Previewing a file, such as a PDF, that can’t be directly opened in Google Docs or other Google app is logged as a Download event.

Downloads from the following sources are not logged:

  • Google Takeout downloads (search Takeout log events instead)
  • Downloads to offline browser caches
  • Photos that are synced to, downloaded from, or viewed through Google Photos
  • Drive items that are emailed as attachments and downloaded through the recipient's email client

Item content synced

Item content synced events are logged in the following cases and are available for activity after July 1, 2024:

  • A file is synced from Drive to a local device using Google Drive for desktop. These are also logged as Download events.
  • A file is synced to a device for offline access, including ongoing syncs with the online version. Item content synced events to the Drive mobile app (Android and iOS) may be logged as Download events instead.

Item content accessed

Files can be accessed on behalf of users through an app that uses a Google Workspace API such as the Google Drive API or Google Sheets API. These actions aren’t logged as Download or View events, only as Item content accessed.Gemini’s Item content accessed events are logged only when file content is accessed outside of a user’s open file in Drive for web.

Item content access events aren’t logged when a file is viewed or opened by a user in Drive for web, Drive on mobile, or the Drive for desktop app.

View

  • Viewing files using the /htmlview, /embed, /revisions, and other special URLs are logged as View events.

URL accessed

URL Accessed events are logged when an Apps Script script accesses a URL, including when the script is run from the Apps Script Dashboard, run as an Add-On, or run as a custom function in Sheets. URL Accessed events aren’t logged when a user clicks a link in a file.

The attributes reported depend on how the script was run and who owns it:

  • When a script is run as a custom function, the document ID and other document-related attributes reflect the sheet that the function was called in.
  • When a script isn’t run as a custom function, document-related attributes aren’t reported.
  • Script ID is reported if the Apps Script script is owned by your organization.

Sheets Import URL

Calling a Sheets Import function, which accesses a URL, is logged as a Sheets Import URL event. An event is logged when the content of the sheet is changed by an automatic refresh or when a user opens the sheet.

Events that involve external domains

Some events involve users, shared folders, or shared drives outside your organization, such as when a user in your organization shares a file with an external user. Both organizations log an event when it changes the ownership of the item from one organization to another.

Examples of events logged by both:

  • A Drive item owned by a user in your organization is moved to an external shared drive.
  • A Drive item owned by a user outside of your organization is moved to a shared drive owned by your organization.
  • A user copies a file into or out of your organization. The receiving organization logs the copied file’s name, not the original file name.

Examples of events logged by your organization but not logged by the external domain:

  • A Drive item owned by a user in your organization is shared with an external user.
  • A Drive item owned by a user in your organization is shared with a group that allows external users, even if no external users are part of the group.
  • An external user views, edits, downloads, prints, or deletes a Drive item owned by your organization.
  • An external user uploads a file to a shared drive owned by your organization.

Events logged by the external domain but not by your organization are the reverse of the previous section.

Anonymous and external users

For anonymous users (users who are not signed in to a Google Account), edits are logged but views and downloads are not.

Actions performed by users external to the domain are shown as anonymous except when the item is explicitly shared with them (as an individual or as part of a specific group).

Anonymous and external access can be restricted by Admins by setting organization sharing policies or Trust Rule policies.

Drive for desktop

When files are copied between Drive and a local device using Google Drive for desktop, Download events are logged.

Manage log event data

Manage search results column data

You can control which data columns appear in your search results.

  1. At the top-right of the search results table, click Manage columnsDrive log events - Google Workspace Admin Help (28).
  2. (Optional) To remove current columns, click RemoveDrive log events - Google Workspace Admin Help (29).
  3. (Optional) To add columns, next to Add new column, click the Down arrowDrive log events - Google Workspace Admin Help (30)and select the data column.
    Repeat as needed.
  4. (Optional) To change the order of the columns, drag the data column names.
  5. Click Save.

Export search result data

You can export search results to Google Sheets or to a CSV file.

  1. At the top of the search results table, click Export all.
  2. Enter a nameDrive log events - Google Workspace Admin Help (31)click Export.
    The export displays below the search results table under Export action results.
  3. To view the data, click the name of your export.
    The export opens in Google Sheets.

Export limits vary:

  • The total results of the export are limited to 100,000 rows (except for Gmail message searches, whichare limited to 10,000 rows).
  • Supported editions for this feature: Frontline Standard; Enterprise Standard and Enterprise Plus; Education Standard and Education Plus; Enterprise Essentials Plus; Cloud Identity Premium. Compareyouredition

    If you havethe security investigation tool, the total results of the export are limited to 30million rows (except for Gmail message searches, which are limited to 10,000rows).

For more information, see Export search results.

When and how long is data available?

Go to Data retention and lag times.

Take action based on search results

Create activity rules & set up alerts

  • You can set up alerts based on log event data using reporting rules. For instructions, seeCreate and manage reporting rules.
  • Supported editions for this feature: Frontline Standard; Enterprise Standard and Enterprise Plus; Education Standard and Education Plus; Enterprise Essentials Plus; Cloud Identity Premium. Compareyouredition

    To help prevent, detect, and remediate security issues efficiently, you can automate actions in the security investigation tool and set up alerts by creating activity rules.To set up a rule, set up conditions for the rule, and then specify what actions to perform when the conditions are met. For details and instructions, seeCreate and manage activity rules.

Take action based on search results

Supported editions for this feature: Frontline Standard; Enterprise Standard and Enterprise Plus; Education Standard and Education Plus; Enterprise Essentials Plus; Cloud Identity Premium. Compareyouredition

After you run a search in the security investigation tool, you can act on your search results. For example, you can run a search based on Gmail log events and then use the tool to delete specific messages, send messages to quarantine, or send messages to users' inboxes. For more details, go to Take action based on search results.

Manage your investigations

Supported editions for this feature: Frontline Standard; Enterprise Standard and Enterprise Plus; Education Standard and Education Plus; Enterprise Essentials Plus; Cloud Identity Premium. Compareyouredition

View your list of investigations

To view a list of theinvestigations that you own and that were shared with you, clickView investigationsDrive log events - Google Workspace Admin Help (32). The investigation list includes the names, descriptions, and owners of theinvestigations, and the date last modified.

From this list, you can take action on any investigations that you own—for example, to delete an investigation. Check the box for aninvestigation and then click Actions.

Note: Directly above your list of investigations, underQuick access,youcan view recently saved investigations.

Configure settings for your investigations

As a super administrator, clickSettingsDrive log events - Google Workspace Admin Help (33)to:

  • Change the time zone for your investigations. The time zone applies to search conditions and results.
  • Turn on or offRequire reviewer. For more details, go to Require reviewers for bulk actions.
  • Turn on or offView content. This setting allows admins with the appropriate privileges to view content.
  • Turn on or offEnable action justification.

For instructions and details,go toConfigure settings for your investigations.

To save your search criteria or share it with others, you can create and save an investigation, and then share, duplicate, or delete it.

For details, go toSave, share, delete, and duplicate investigations.

Related topics for security center

  • Start an investigation based on a dashboard chart
  • Create a custom chart based on an investigation
  • Start an investigation from the alert center
  • Investigate reports of malicious emails
  • Investigate file sharing
  • Investigate a user across data sources

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Post to the help community Get answers from community members Contact us Tell us more and we’ll help you get there

Start your free 14-day trial today

Professional email, online storage, shared calendars, video meetings and more. Start your free Google Workspace trial today.

Drive log events - Google Workspace Admin Help (2024)
Top Articles
Samsung 32T5300 32 inch 1080p Full HD TV Smart TV Price in Kenya -Price at Zuricart
Selling Gifted Real Estate Can Have Capital Gains Tax Consequences
Rosy Boa Snake — Turtle Bay
Star Wars Mongol Heleer
Exclusive: Baby Alien Fan Bus Leaked - Get the Inside Scoop! - Nick Lachey
Fan Van Ari Alectra
Koopa Wrapper 1 Point 0
Explore Tarot: Your Ultimate Tarot Cheat Sheet for Beginners
Evil Dead Rise Showtimes Near Massena Movieplex
Bucks County Job Requisitions
Umn Pay Calendar
Blue Ridge Now Mugshots Hendersonville Nc
‘Accused: Guilty Or Innocent?’: A&E Delivering Up-Close Look At Lives Of Those Accused Of Brutal Crimes
What is Cyber Big Game Hunting? - CrowdStrike
Sivir Urf Runes
State HOF Adds 25 More Players
1-833-955-4522
Honda cb750 cbx z1 Kawasaki kz900 h2 kz 900 Harley Davidson BMW Indian - wanted - by dealer - sale - craigslist
How to Create Your Very Own Crossword Puzzle
Sadie Proposal Ideas
Wgu Academy Phone Number
Busted Newspaper Fauquier County Va
The Blind Showtimes Near Amc Merchants Crossing 16
Beverage Lyons Funeral Home Obituaries
Sunset Time November 5 2022
MyCase Pricing | Start Your 10-Day Free Trial Today
eugene bicycles - craigslist
Victory for Belron® company Carglass® Germany and ATU as European Court of Justice defends a fair and level playing field in the automotive aftermarket
City Of Durham Recycling Schedule
New Stores Coming To Canton Ohio 2022
Claio Rotisserie Menu
Pixel Combat Unblocked
Section 408 Allegiant Stadium
Log in to your MyChart account
Rugged Gentleman Barber Shop Martinsburg Wv
Kaiserhrconnect
Cheap Motorcycles Craigslist
Old Peterbilt For Sale Craigslist
Mta Bus Forums
Streameast.xy2
Kelly Ripa Necklace 2022
Pay Entergy Bill
MSD Animal Health Hub: Nobivac® Rabies Q & A
Vocabulary Workshop Level B Unit 13 Choosing The Right Word
Reese Witherspoon Wiki
At Home Hourly Pay
How I Passed the AZ-900 Microsoft Azure Fundamentals Exam
✨ Flysheet for Alpha Wall Tent, Guy Ropes, D-Ring, Metal Runner & Stakes Included for Hunting, Family Camping & Outdoor Activities (12'x14', PE) — 🛍️ The Retail Market
Dmv Kiosk Bakersfield
Leslie's Pool Supply Redding California
Latest Posts
Article information

Author: Lilliana Bartoletti

Last Updated:

Views: 6229

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Lilliana Bartoletti

Birthday: 1999-11-18

Address: 58866 Tricia Spurs, North Melvinberg, HI 91346-3774

Phone: +50616620367928

Job: Real-Estate Liaison

Hobby: Graffiti, Astronomy, Handball, Magic, Origami, Fashion, Foreign language learning

Introduction: My name is Lilliana Bartoletti, I am a adventurous, pleasant, shiny, beautiful, handsome, zealous, tasty person who loves writing and wants to share my knowledge and understanding with you.