Rule log events

Review your users' attempts to share sensitive data

As your organization's administrator, you can run searches and take action on Rule log events. For example, you can view a record of actions to review your user’s attempts to share sensitive data. You can also review events triggered by data loss prevention (DLP) rule violation events. Entries usually appear within an hour of the user action.

The Rule log events also list data types for Chrome Enterprise Premium threat and data protection.

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.

  1. Sign in to your Google Admin console.

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

  2. On the left, click Reportingand thenAudit and investigationand thenRule log events.
  3. Click Add a filter, and then select an attribute.
  4. In the pop-up window, select an operatorand thenselect a valueand thenclick Apply.
    (Optional) To create multiple filters for your search:
    1. Click Add a filter and repeat step 3.
    2. (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
  5. Click Search.
  6. 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

Requires a premium Google Workspace edition (Enterprise Standard, Enterprise Plus, or Education Plus)

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

  1. Sign in to your Google Admin console.

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

  2. In the Admin console, go to Menu and then Securityand thenSecurity centerand thenInvestigation tool.
  3. Click Data source and select Rule log events.
  4. 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.
  5. Click Attributeand thenselect an option.
    For a complete list of attributes, go to the Attribute descriptions section (later on this page).
  6. Click Containsand thenselect an operator.
  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, click Saveand thenenter a title and descriptionand thenclick 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
Access level The access levels selected as this rule’s Context-Aware Access conditions. Access levels are applicable only to Chrome data. For details, see Create Context-Aware access levels.
Actor Email address of the user who performed the action. The value can be Anonymous user if the events are the results of a rescan.
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:

  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 .
  8. Click Save.
Actor organizational unit Organizational unit of the actor
Blocked recipients The recipients who are blocked by the triggered rule
Conditional action A list of actions that could be triggered at user access time, depending on the context conditions configured for the rule.
Conference ID Conference ID of the meeting that was acted on as part of this rule trigger
Container ID ID of the parent container that the resource belongs to
Container type Type of parent container that the resource belongs to—for example, Chat Space or Group Chat, for chat messages or chat attachments
Data source The application originating the resource
Date Date and time the event occurred
Detector ID Identifier of a matched detector
Detector name Name of a matched detector that admins defined
Device ID The ID of the device on which the action was triggered. This data type applies to Chrome Enterprise Premium threat and data protection.
Device type Type of device referred to by the Device ID. This data type applies to Chrome Enterprise Premium threat and data protection.
Event The logged event action. 
  • For DLP rules, the following events are logged: 
    Event Explanation
    Action complete, Content matched* Drive document content is flagged by a DLP rule.
    Action complete, Content unmatched* Drive document is unflagged, as the content that originally  triggered a DLP rule is no longer present.
    Access blocked Download or copy of a Drive file was blocked by a DLP rule.
     
  • When a Drive label changes, the value is Label applied, Field value changed, or Label removed.
  • When trust rules block sharing Drive files, the value is Sharing blocked.
  • When trust rules block accessing Drive files (view, download, or copy), the value is Access blocked.

* The 'Action complete' portion of these event names will be deprecated.

Has sensitive content For triggered DLP rules with sensitive content detected and logged, the value is True.
Recipient* Those who received the shared resource
Recipient omitted count* Number of resource recipients omitted due to exceeding the limit
Resource ID The object modified. For DLP rules:
  • For entries pertaining to Google Drive, click the Resource ID to view the Drive document that was modified.
  • For entries pertaining to Google Chat, click the Resource ID to see details on a Chat conversation. Note that some Chat data can expire, so not all details will always be available.
Resource owner User that owns the resource that was scanned and had an action applied to it
Resource title The title of the resource that was modified. For DLP, a document title.
Resource type For DLP, the resource is Document. For Chat DLP, the resource is Chat Message or Chat Attachment.
Rule ID ID of the rule that triggered
Rule name Rule name provided by the admin when they created the rule
Rule type DLP is the value for DLP rules
Scan type

Values are:

  • Drive continuous scan (occurring when a rule changes)
  • Online scan (occurring as a document is changing)
  • Chat scan content before send (occurring when a Chat message is sent)
Severity The severity assigned to the rule when it was triggered
Suppressed action* Actions configured on the rule, but suppressed. An action is suppressed if a higher priority action occurs at the same time and is triggered.
Trigger Activity that led to a rule being triggered
Triggered action Lists the action taken. This is blank if an audit-only rule was triggered.
Trigger client IP IP address of the actor that triggered the action
Triggering user email* Email address of actor that triggered the action
User action The action the user was attempting that was blocked by a rule
* 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 OldName@example.com to NewName@example.com, you will not see results for events related to OldName@example.com.

 

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 columns .
  2. (Optional) To remove current columns, click Remove .
  3. (Optional) To add columns, next to Add new column, click the Down arrow  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 in the investigation tool to Google Sheets or to a CSV file.

  1. At the top of the search results table, click Export all.
  2. Enter a name and then 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 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

Create activity rules & set up alerts

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.

Take action based on search results

 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 investigations

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

Configure settings for your 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.

Share, delete, and duplicate 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.

Use Rule log events to investigate Chat messages

 Requires a premium Google Workspace edition (Enterprise Standard, Enterprise Plus, or Education Plus)

As an administrator, you can create a data protection rule for Chat to monitor and prevent sensitive content leaks. You can then use the security investigation tool to monitor Chat activity in your organization—including messages and files that are sent outside your domain. For details, see Investigate Chat messages to protect your organization's data.

Use Rule log events to investigate DLP rule violations

 Requires a premium Google Workspace edition (Enterprise Standard, Enterprise Plus, or Education Plus)

As an administrator, you can use data loss prevention (DLP) snippets to investigate whether a DLP rule violation is a real incident or a false positive. For details, go to View content that triggers DLP rules (beta).

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu