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 security issues related to AI credits for Google AI Ultra for Business. For example, you can review the credits that were provisioned by an admin, or check how many credits a user used in the current month.
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.
To run a search for log events, first choose a data source. Then choose one or more filters for your search.
- Sign in with an administrator account to the Google Admin console.
If you aren’t using an administrator account, you can’t access the Admin console.
- Go to Menu Reporting > Audit and investigation > Google Workspace Quota log events .
Requires having the Audit & Investigation administrator privilege.
-
To filter events that occurred before or after a specific date, for Date, select Beforeor After. By default, events from the last 7 days are shown. You can select a different date range or clickto remove the date filter.
- Click Add a filterselect an attribute.
- 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 ANDor 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.
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 with an administrator account to the Google Admin console.
If you aren’t using an administrator account, you can’t access the Admin console.
- Go to Menu Security > Security center > Investigation tool .
Requires having the Security center administrator privilege.
- Click Data sourceand select Google Workspace Quota log events.
-
To filter events that occurred before or after a specific date, for Date, select Beforeor After. By default, events from the last 7 days are shown. You can select a different date range or clickto remove the date filter.
- 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. - 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 buildertab, filters are represented as conditions with AND/OR operators. You can also use the Filtertab to include simple parameter and value pairs to filter the search results.
- If you give a user a new name, you will not see query results with the user's old name. For example, if you rename OldName@example.com to NewName@example.com , you will not see results for events related to OldName@example.com .
Attribute descriptions
For this data source, you can use the following attributes when searching log event data:
Description of the event. For example, Credits are consumed .
The logged event action. This attribute can be:
- Credits provisioned—Credits were provisioned to the user
- Credits consumed—User performed an action that used credits
- Credits refunded—Credits were refunded to the user
- Credits revoked—Credits were revoked from the user because their license was unassigned or the subscription was cancelled
- Out of quota—User exhausted all their allocated credits
Type of credits that were provisioned for the user. This attribute can be:
- Base credits provisioned—Default credits included as part of the subscription. These credits refresh on the first day of each month. Unused credits do not carry over to the next month.
- Overage credits—Extra credits provisioned by the admin. These credits are billed on a postpaid pay-as-you-go basis.
- Refresh credits—Refresh of base credits on the first day of the month.
- Support initiated—Credits given by Google Support.
Manage log event 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.
You can export search results to 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 Sheets.
Export limits vary:
- The total results of the export are limited to 100,000 rows.
- Supported editions for this feature: Frontline Standard
and Frontline Plus
; Enterprise Standard and Enterprise Plus
; Education Standard and Education Plus; Enterprise Essentials Plus; Cloud Identity Premium. Compare your edition
If you have the security investigation tool, the total results of the export are limited to 30 million rows.
For more information, go to Export search results .
Take action based on search results
- You can set up alerts based on log event data using reporting rules. For instructions, go to Create and manage reporting rules .
- Supported editions for this feature: Frontline Standard
and Frontline Plus
; Enterprise Standard and Enterprise Plus
; Education Standard and Education Plus; Enterprise Essentials Plus; Cloud Identity Premium. Compare your edition
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 the actions to perform when the conditions are met. For more details, go to Create and manage activity rules .
Supported editions for this feature: Frontline Standard and Frontline Plus ; Enterprise Standard and Enterprise Plus ; Education Standard and Education Plus; Enterprise Essentials Plus; Cloud Identity Premium. Compare your edition
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 and Frontline Plus ; Enterprise Standard and Enterprise Plus ; Education Standard and Education Plus; Enterprise Essentials Plus; Cloud Identity Premium. Compare your edition
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: You can view your saved investigations under Quick access, directly above your list of 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 more 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 .

