Gemini App log events

Review user interaction with the Gemini app

As your organization's administrator, you can run searches and take action on Gemini App log events. For example, you can review when users create, update, delete, share, open, and chat with Gems and Skills in the Gemini app.

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.

  1. In the Google Admin console, go to Menu and then Reporting and then Audit and investigation and then Gemini App.
    Requires having the Audit & Investigation administrator privilege.
  2. To filter events that occurred before or after a specific date, for Date, select Before or After. By default, events from the last 7 days are shown. You can select a different date range or click to remove the date filter.

  3. Click Add a filter and then select an attribute. For example, to filter by a specific event type, select Event.
  4. Select an operator and then select a value and then click 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.
  5. 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 OR operators.

Security investigation tool

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

  1. In the Google Admin console, go to Menu and then Security and then Security center and then Investigation tool.

    Requires having the Security center administrator privilege.

  2. Click Data source and select Gemini App.
  3. 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.
  4. Click Attribute and then select an option. For example, to filter by a specific event type, select Event.
    For a complete list of attributes, go to the Attribute descriptions section later on this page.
  5. Select an operator.
  6. Enter a value or select a value from the list.
  7. (Optional) To add more search conditions, repeat the steps.
  8. Click Search.
    You can review the search results from the investigation tool in a table at the bottom of the page.
  9. (Optional) To save your investigation, click Save and then enter a title and description and then click 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 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.
  • You can only search for data in messages that have not yet been deleted from Trash.

Attribute descriptions

For this data source, you can use the following attributes when searching log event data. Not all attributes are reported for all events. The list isn't exhaustive and is subject to change.

Attribute Description
Actor Email address of the user who performed the action.

Actor application name

You need to add this column to the search results. For the steps, go to Manage search results column data.

Details about the application that performed the action. In the search results, click the Actor application name to show:

  • Actor application name—Name of the application that performed the action (populated for third-party apps and for some first-party apps, such as Gmail)
  • Actor OAuth client ID—Identifier for the third-party app that performed the action
  • Impersonation—Whether the app was impersonating a user

If you export this information to a comma-separated values (CSV) file or Google Sheets, the information is saved as a single block of text within a cell.

Agent info To search by AI agent info, select Agent info, and then select a nested column: Agent ID, Agent name, or Agent product. Search results are shown in the Agent ID column.

Click an entry in the search results to open the Log details panel to show:

  • Agent ID—The agent's unique ID.
  • Agent name—The agent's display name.
  • Agent product—The service the agent used (only supported by Google Workspace Studio flow).

Note: Additional agents will be supported later.

An identifier for a Gem Unique identifier for the Gem associated with the event.
An identifier for a Gemini conversation Unique identifier for the Gemini conversation where the interaction took place.
An identifier for a Skill Unique identifier for the Skill associated with the event.
An identifier for the request to Gemini Unique identifier for the request sent to Gemini.
By an agent Action was performed with an AI agent (True or False)
Date Date and time of the event (displayed in your browser's default time zone).
Description Description of the event.
Description of the Gem Description of the Gem when it's created or updated.
Description of the Skill Description of the Skill when it's created or updated.
Event

Name of the logged event.

Gem events

  • Chat with shared Gem: A user chatted with a shared Gem.
  • Gem created: A Gem was created.
  • Gem deleted: A Gem was deleted.
  • Gem shared: A Gem was shared with one or more users.
  • Gem updated: A Gem was updated.
  • Shared Gem opened: A shared Gem was opened.

Skill events

  • Chat with a Skill: A user chatted with a Skill.
  • Skill created: A Skill was created.
  • Skill deleted: A Skill was deleted.
  • Skill enabled or disabled: A Skill was turned on or off.
  • Skill library is modified: A Skill library was modified.
  • Skill shared: A Skill was shared with one or more users.
  • Skill updated: A Skill was updated.
Event type

Category of the logged event:

  • A Gem was modified
  • A Skill was modified or used
Indicates how a Skill was modified Modification action performed on a Skill library.
Indicates whether the Gem is shared Shows whether the Gem is shared with other users.
Indicates whether the Skill is enabled Shows whether the Skill is turned on after a user changes it.
Indicates whether the Skill is shared Shows whether the Skill is shared with other users.
IP address 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.

IP ASN

You need to add this column to the search results. For the steps, go to Manage search results column data.

IP Autonomous System Number (ASN), subdivision, and region associated with the log entry.

To review the IP ASN and subdivision and region code where the activity happened, click the name in the search results.

Name of the Skill Display name of the Skill associated with the event.
Resources

List of resources associated with the action. To review the following details, click the resource:

  • Resource ID: Resource identifier
  • Resource title: Title of the resource
  • Resource type: Category of the resource
  • Owner details: Details about the resource owner, including owner type and owner identity
The account that owns the gem Email address of the account that owns the Gem.
Title of the Gem Display title of the Gem associated with the event.
User approved Indicates whether a user approved an action performed with an AI agent. Shows True if approved, or stays blank.

User device ID

You need to add this column to the search results. For the steps, go to Manage search results column data.

Details about the device that performed the action.

In the search results, click User device ID to show:

  • User device ID—The device's unique identifier
  • User device type—The type of device used (such as DESKTOP_MAC or DESKTOP_WINDOWS)
  • User device OS version—The operating system version installed on the device

If you export this information to a comma-separated values (CSV) file or Google Sheets, the information is saved as a single block of text within a cell.

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 to 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 Sheets.

Export limits vary:

  • You can export up to 100,000 rows.
  • If you have the security investigation tool, you can export up to 30 million rows.

For more information, go to Export search results.

When and how long is data available?

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

Take action based on search results

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 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: You can view your saved investigations under Quick access, directly above your list of 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 more details, go to Configure settings for your investigations.

Save, share, delete & 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.