Google Workspace

Download 212
Last updated Oct 15, 2026

4. Logpresso Setup

Step 1: Install the App

Install the Google Workspace app by referring to Install an app.

Caution
When upgrading from an earlier version to 1.9.2610.0 or later, disable all Google Workspace collectors before upgrading, and enable them again after the upgrade. Upgrading while collectors are running may stop them with an error. If they have already stopped, disable and enable them again. Collectors resume from the last collection point, so no logs are lost.

Step 2: Add a Connect Profile

Referring to Add a connect profile, add a connect profile for your authentication method in System > Connect Profiles. To collect only Alert Center with the service account method, create profiles for both methods.

Service Account

Connect profile settings

ItemRequiredValue
NameRequiredA name to identify the connect profile
IdentifierRequiredThe identifier used in queries and collectors (e.g., gws_sa)
TypeRequiredGoogle Workspace
Customer IDOptionalUsed only by the domain, user, and group query commands. If left empty, the organization of the delegated user is used
Delegated UserRequiredEmail of the dedicated integration account assigned the admin role
Service keyRequiredFull content of the service account JSON key file
HTTP ProxyOptionalIP:PORT when connecting through a proxy

To specify the Customer ID, find it in Account > Account settings in the Admin console.

For Delegated User, enter the email of the dedicated integration account created in Step 1 of 2. Google Workspace Preparation.

User Account OAuth

  1. Write the JSON to put in Service key. Do not use the client JSON file downloaded from Google Cloud; its format is different.

    {
      "type": "authorized_user",
      "client_id": "OAuth client ID",
      "client_secret": "OAuth client secret",
      "refresh_token": "Refresh token"
    }
    
    KeyValue
    client_id, client_secretClient ID and client secret of the OAuth client created in Step 2 of 3-2. User Account OAuth. Not the client ID of the service account
    refresh_tokenRefresh token issued in Step 3 of 3-2. User Account OAuth (starts with 1//)
  2. Enter the following.

    Connect profile settings

    ItemValue
    Name, Identifiere.g., gws_oauth
    TypeGoogle Workspace
    Customer IDLeave empty (the organization of the consenting account is used)
    Delegated UserLeave empty (not used with the OAuth method)
    Service keyThe JSON written above. It is masked after saving, so keep the original separately
Note
In versions earlier than 1.9.2610.0, Customer ID and Delegated User are required, so enter any value (e.g., dummy).

Step 3: Add Collectors

Add the collectors you need by referring to Add a logger. Table names must start with the prefixes below to appear in the app's datasets and dashboards.

Logger modelTable name (prefix)
Google Workspace Admin ActivityGOOGLE_ADMIN
Google Workspace LoginGOOGLE_LOGIN
Google Drive ActivityGOOGLE_DRIVE
Google Meet ActivityGOOGLE_MEET
Google Chat ActivityGOOGLE_CHAT
Google Workspace Alert CenterGOOGLE_ALERT

Common settings for all collectors are as follows.

ItemValue
NameA name to identify the collector
Interval60 seconds or more recommended
Storage node / Collection nodeNodes that match your Logpresso platform configuration
Logger modelA logger model from the table above
TableA name starting with the prefix in the table above
Connect profileIdentifier of the connect profile created above. Use the service account profile for the Alert Center collector

Collector settings example - Google Workspace Admin Activity

If a collector or query command fails, see Troubleshooting.