AQUILA - Google Workspace Gmail Logs (For revision)

Google Workspace Gmail Logs

The integration collects and parses Gmail audit logs data available for reporting in Google Workspace. You must first export Google Workspace logs to Google BigQuery. This involves exporting all activity log events and usage reports to Google BigQuery. Only certain Google Workspace editions support this feature. For more details see About reporting logs and BigQuery(external, opens in a new tab or window). The integration uses the BigQuery API(external, opens in a new tab or window) to query logs from BigQuery.

Requirements

In order to ingest data from the Google BigQuery API, you must:

  1. Enable BigQuery API if not already

  1. Create a service account:

  1. Generate a JSON Key:

  1. Grant IAM Role to service account:

  1. Set up a BigQuery project for reporting logs

  1. Set up a BigQuery Export configuration:
  1. Grant Dataset Permissions: (If this step is available to your end kindly follow the instructions but if not just skip.)

This integration will make use of the following oauth2 scope:

Once you have downloaded your service account credentials as a JSON file, you are ready to set up your integration for collecting Gmail logs.

NOTE: For Gmail data stream, the default value of "BigQuery API Host" is https://bigquery.googleapis.com. The BigQuery API Host will be used for collecting gmail logs only. 

Please provide the following information to CyTech Support: 

Revision #2
Created 17 January 2026 15:03:46
Updated 17 January 2026 15:07:34