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
Forward log event data to Google Cloud
You can opt in to share log event data with Google Cloud. If you turn on sharing, data is forwarded to Cloud Logging where 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 your Google 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.
-
Sign in to your Google Admin console.
Sign in using your administrator account (does not end in @gmail.com).
-
In the Admin console, go to Menu ReportingAudit and investigationAdmin log events.
- Click Add a filter, and then select an attribute.
- In the pop-up window, select an operatorselect a valueclick Apply.
- (Optional) To create multiple filters for your search, repeat this step.
- (Optional) To add a search operator, above Add a filter, select AND or OR.
- Click Search.
Note: Using the Filter tab, you can include simple parameter and value pairs to filter the search results. You can also use the Condition builder tab, where the filters are represented as conditions with AND/OR operators.
Security investigation tool
To run a search in the security investigation tool, first choose a data source. Then, choose one or more conditions for your search. For each condition, choose an attribute, an operator, and a value.
-
Sign in to your Google Admin console.
Sign in using your administrator account (does not end in @gmail.com).
-
In the Admin console, go to Menu SecuritySecurity centerInvestigation tool.
- Click Data source and select Admin log events.
- Click Add Condition.
Tip: You can include one or more conditions in your search or customize your search with nested queries. For details, go to Customize your search with nested queries. - Click Attributeselect an option.
For a complete list of attributes, go to the Attribute descriptions section (later on this page). - Select an operator.
- Enter a value or select a value from the list.
- (Optional) To add more search conditions, repeat steps 4–7.
- Click Search.
You can review the search results from the investigation tool in a table at the bottom of the page. - (Optional) To save your investigation, click Save enter a title and descriptionclick Save.
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:
Attribute | Description |
---|---|
Action(s)* | Action(s) taken by the admin using the security investigation tool, or using an activity rule. For details about the actions an admin can take, go to Take action based on search results. |
Actor |
Email address of the user who performed the action. Instead of an email address, you might see:
|
Actor group name |
Group name of the actor. For more information, go to Filtering results by Google Group. To add a group to your filtering groups allowlist:
|
Actor organizational unit | Organizational unit of the actor |
Additional information | Additional contextual information for the event |
Begin date* | Use Begin date and End date to filter events that include a specific begin and end date range, such as Chart Drilldown events. Note: To search for events within a date range, use the Date attribute. |
Data source* | The data source in investigation tool or alert source in alert center |
Date | Date and time of the event (displayed in your browser's default time zone) |
Device ID* | ID of the device affected by this audit event. For example, if an admin wipes out a company-owned device, then this field captures the device ID. |
Device type | Type of the device affected by this audit event. For example if an admin wipes out a company-owned device, then this field captures the device type |
Domain name | The domain where the action occurred |
End date* | Use Begin date and End date to filter events that include a specific begin and end date range, such as Chart Drilldown events. Note: To search for events within a date range, use the Date attribute. |
Event |
The logged event action, such as Investigation Query or Activity Rule Creation. Under Event value, the events are grouped by type, such as User Settings or Domain Settings. Most event values are self-explanatory. For example, Add Application, under Domain Settings, is a search value for an application that was added to your domain. You can search for events in the search box. Tip: If you have event values that you use often, pin those events to the top of the drop-down menu. |
Google Workspace edition* | Google Workspace edition for the admin (Actor) who performed the action |
Group email |
Email of the Google group affected by this activity |
IP address | Internet Protocol (IP) address associated with the logged action. Usually reflects the user's physical location, but could be a proxy server or a virtual private network (VPN) address. |
Justification* | If justification text was required for the action, explanation provided by the admin |
Message ID* | Message ID of the email message that's affected by this audit event |
New value* | New value of the setting in case it’s updated |
Old value* | Old value of the setting in case it’s updated |
Resource ID(s)* | ID(s) of one or more resources affected by the audit event |
Resource name* | Name of the resource affected by the audit event |
Resource type* | Type of the resource affected by the audit event |
Search query | Query that is used to fetch or process data. For example, the query used in investigation tool search, when creating activity rules, or when creating email dump. |
Setting name | Name of the updated setting |
Setting org unit name | Settings in admin console can be scoped to an organizational unit. When a setting is updated and it’s scoped to an organizational unit, the organizational unit name is shown in this field. |
Target* | Target email address for the event. For example, the destination email address when creating an email monitor, or the verifier's email address when performing a bulk action in the investigation tool. |
Total affected* | Total number of entities that were affected by the audit event. For example, the number of users that were uploaded when bulk uploading users to a group, or the number of actions that were triggered as part of an activity rule trigger. This is a contextual field that depends on the event. |
Total failed* | Total number of failed operations. For example, the number of users that failed to upload when bulk uploading users to a group, or the number of actions that failed as part of an activity rule trigger. This is a contextual field that depends on the event. |
User email | Email of the user who performed the action |
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].
Manage log event data
Manage search results column data
You can control which data columns appear in your search results.
- At the top-right of the search results table, click Manage columns .
- (Optional) To remove current columns, click Remove .
- (Optional) To add columns, next to Add new column, click the Down arrow and select the data column.
Repeat as needed. - (Optional) To change the order of the columns, drag the data column names.
- Click Save.
Export search result data
You can export search results to Google Sheets or to a CSV file.
- At the top of the search results table, click Export all.
- Enter a name click Export.
The export displays below the search results table under Export action results. - 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, which are limited to 10,000 rows).
- This feature is available with Cloud Identity Premium edition. Compare editions
If you have the security investigation tool, the total results of the export are limited to 30 million rows (except for Gmail message searches, which are limited to 10,000 rows).
For more information, see Export search results.
When and how long is data available?
Take action based on search results
- You can set up alerts based on log event data using reporting rules. For instructions, see Create and manage reporting rules.
- This feature is available with Cloud Identity Premium edition. Compare editions
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, see Create and manage activity rules.
This feature is available with Cloud Identity Premium edition. Compare editions
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
This feature is available with Cloud Identity Premium edition. Compare editions
View your list of investigationsTo view a list of the investigations that you own and that were shared with you, click View investigations . The investigation list includes the names, descriptions, and owners of the investigations, 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 an investigation and then click Actions.
Note: Directly above your list of investigations, under Quick access, you can view recently saved investigations.
As a super administrator, click Settings to:
- Change the time zone for your investigations. The time zone applies to search conditions and results.
- Turn on or off Require reviewer. For more details, go to Require reviewers for bulk actions.
- Turn on or off View content. This setting allows admins with the appropriate privileges to view content.
- Turn on or off Enable action justification.
For instructions and details, go to Configure 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 to Save, share, delete, and duplicate investigations.