Google Workspace

Download 175
Last updated Apr 29, 2025

google-workspace-oauth-logs

Get OAuth token activity logs from Google Workspace.

Syntax

google-workspace-oauth-logs [profile=PROFILE] [duration=NUM{mon|w|d|h|m|s}] [from=yyyyMMddHHmmss] [to=yyyyMMddHHmmss] [raw=RAW]

Options

profile=PROFILE
Optional. Profile name of Google Workspace
duration=NUM{mon|w|d|h|m|s}
Optional. Scan only recent data. You should use s(second), m(minute), h(hour), d(day), mon(month) time unit. For example, 10s means data from 10 seconds earlier.
from=yyyyMMddHHmmss
Optional. Start time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
to=yyyyMMddHHmmss
Optional. End time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
raw=RAW
Optional. t or f. Specify 't' to output line field.

Output Fields

FieldTypeNameDescription
profileStringConnect profileProfile name of Google Workspace
lineStringEvent raw
_timeDateTime
src_ipIP addressSource IP address
userStringUser
actionStringActione.g. authorize
app_nameStringApp namee.g. Google Chrome
client_typeStringClient typee.g. WEB, NATIVE_DESKTOP, NATIVE_IOS, NATIVE_ANDROID
client_idStringClient ID
scopesStringScopese.g. https://www.google.com/accounts/OAuthLogin