As your organization's administrator, you can run searches and take action on SAML log events. For example, you can view a record of actions to track your users' successful and unsuccessful sign-ins to SAML applications. Entries usually appear within an hour of the user action.
Your access to 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.
- Your Workspace subscription provides access to the log events using either the Audit & investigation tool or the Security center.
- Premium Google Workspace editions (Enterprise Plus, Enterprise Standard, or Education Plus) provide access to the Security Center and the more advanced features of the security investigation tool. The investigation tool enables super admins to identify, triage, and take action on security and privacy issues. For details, see About the security investigation tool.
- All other Google Workspace editions can access the logs using the Audit and Investigation tool. For details, see About the audit and investigation page.
Forward log event data to Google Cloud
You can opt in to share the 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.
Run a search for log events
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).
-
On the left, click ReportingAudit and investigationSAML 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:
- Click Add a filter and repeat step 3.
- (Optional) To add a search operator, above Add a filter, select AND or OR.
- (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 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 SAML 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). - Click Containsselect 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 Saveenter 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 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:
Attribute | Description |
---|---|
Actor | Email address of the user who performed the action |
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 |
Application name | The SAML application that initiated the event |
Date | The date and time the event occurred (displayed in your browser's default time zone) |
Event | Two types of events are logged: Successful and failed sign-in attempts |
Failure type | For failed sign-in attempts, a failure type is displayed. Go to Failure types and solutions below for details. |
Initiated by | The provider who initiated the event. Can be the identity provider or the service provider. |
IP address | The internet protocol (IP) address used by the user to sign in to the SAML application. This might reflect the user's physical location, but not necessarily. For example, it could instead be a proxy server or a virtual private network (VPN) address. |
Response second level status | Status information about the success or failure of the SAML request. For details on status codes, go to SAML v2.0 Core, Section 3.2.2.2. |
Response status | Status information about the success or failure of the SAML request. For details on status codes, go to SAML v2.0 Core, Section 3.2.2.2. |
Filter data by failure type
- Open the log events as described above.
- Click Add a filterFailure type as described above in Run a search for log events.
- From the drop down list, select an option.
- Click Apply.
Failure types and solutions
The following failure types are recorded in the log events:
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 in the investigation tool 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 depending on your Google Workspace edition:
- Premium edition (Enterprise Plus, Enterprise Standard, or Education Plus)—The total results of the export are limited to 30 million rows (except for Gmail message searches, which are limited to 10,000 rows).
- All other Google Workspace editions—The total results of the export are limited to 100,000 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
Rules and alert features vary depending on your Google Workspace edition:
Premium editions (Enterprise Plus, Enterprise Standard, or Education Plus)—To help prevent, detect, and remediate security issues efficiently, you can automate actions in the 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.
All other Google Workspace editions—You can set up alerts based on log event data using reporting rules. For instructions, see Create and manage reporting rules.
Requires a premium Google Workspace edition (Enterprise Standard, Enterprise Plus, or Education Plus)
After you run a search in the 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 investigation tool to delete specific messages, send messages to quarantine, or send messages to users' inboxes. For more details about actions in the investigation tool, go to Take action based on search results.
Manage your investigations
Requires a premium Google Workspace edition (Enterprise Standard, Enterprise Plus, or Education Plus)
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.
Related topics for security center
The following features require a premium Google Workspace edition (Enterprise Standard, Enterprise Plus, or Education Plus)