Google Workspace Content Pack

The following content pack is available for use with a Graylog Illuminate license and Graylog Enterprise or Graylog Security. Contact sales to learn more about obtaining Illuminate.

Google Workspace is a collection of cloud computing, productivity and collaboration tools, software, and products developed and marketed by Google. It consists of Gmail, Contacts, Calendar, Meet, Chat, Drive, Google Docs and others.

This technology pack processes Google Workspace event log messages, providing normalization and enrichment of common events of interest.

Supported Versions

  • Google Workspace (current)

Requirements

  • Graylog 6.1.0+ with a valid Enterprise or Security license

  • Google Workspace subscription

  • Google Cloud subscription

Stream Configuration

This technology pack includes 1 stream:

  • "Illuminate:Google Workspace Messages"

Hint: If this stream does not exist prior to the activation of this pack then it will be created and configured to route messages to this stream and the associated index set. There should not be any stream rules configured for this stream.

Index Set Configuration

This technology pack includes 1 index set definition:

  • "Google Workspace Logs"

Hint: If this index set is already defined, then nothing will be changed. If this index set does not exist, then it will be created with retention settings of a daily rotation and 90 days of retention. These settings can be adjusted as required after installation.

Log Collection and Delivery

Google Workspace utilizes the Google Workspace input that ingests multiple Google product type logs in JSON format.

  • Google Workspace Input

Google Workspace Input Configuration

  1. Create a Google Workspace Input in Graylog.

  2. Configure the input with your Google Workspace credentials and desired log types.

  3. The input will automatically collect and deliver logs from your Google Workspace environment.

Log Format Example

Google Workspace logs are delivered in JSON format via the Google Workspace input.

Login and Token Events

{"time_usec":1724422059754013,"email":"user@example.com","group_id":[],"org_unit_name_path":["Example Org"],"ip_address":"MTQxLjE1Ni4xODcuMTA5","event_type":"login","event_name":"login_success","record_type":"login","has_sensitive_content":false,"unique_identifier":"-229062299291613203","event_id":"97b9dd02","resource_ids":[],"resource_details":[],"login":{"is_suspicious":false,"login_type":"google_password","login_challenge_method":["password"]}} {"time_usec":1724422059778568,"email":"user@example.com","group_id":[],"org_unit_name_path":["Example Org"],"ip_address":"MTQxLjE1Ni4xODcuMTA5","event_type":"auth","event_name":"authorize","record_type":"token","has_sensitive_content":false,"unique_identifier":"-5056355255352872288","event_id":"222e57e5","resource_ids":[],"resource_details":[],"token":{"client_id":"77185425430.apps.googleusercontent.com","scope":["https://www.google.com/accounts/OAuthLogin"],"app_name":"Google Chrome","client_type":"NATIVE_DESKTOP"}}

What is Provided

  • Rules to normalize and enrich Google Workspace log messages

  • Graylog Information Model message categorization for login, token, and Gmail events

  • Illuminate spotlight dashboard and saved search

Events Processed by This Technology Pack

The content pack supports the following log types. Generic processing will be provided for log types not listed.

  • Gmail Logs

  • Chat Logs

  • Calendar Logs

  • Drive Logs

  • Mobile Logs

  • Token Logs

  • Login Logs

GIM Categorization

GIM categorization is provided for the following event types:

Event Type gim_event_type_code gim_event_category gim_event_subcategory gim_event_type
Login 100000 authentication authentication.logon logon
Token 100500 authentication authentication.credential validation credential validation
Gmail - Message sent 130000 messaging messaging.email email sent
Gmail - Message received 139999 messaging messaging.default message
Gmail - Message deleted 132000 messaging messaging.email email deleted
Gmail - Message quarantined 131500 messaging messaging.email email quarantined

Message Fields Included in This Pack

Parsed Fields

The following fields are extracted and normalized from Google Workspace logs across all event subtypes.

Google Workspace Content Pack

This spotlight offers a dashboard with 3 tabs:

Overview

Gmail

User Search