Google Workspace Gmail Logs

Hello,

I am trying to fetch email transaction logs for the Gmail application from Google Workspace.

As per the documentation here, the application name is mentioned as "gmail" for retrieving its logs. However, I am unable to fetch Gmail logs.

I am using a Python script that successfully retrieves logs for other applications like login, drive, etc. But when I use "gmail" as the application name, I encounter the following error:

Error fetching activity logs: Parameter "applicationName" value "gmail" does not match the pattern "(access_transparency)|(admin)|(calendar)|(chat)|(chrome)|(context_aware_access)|(data_studio)|(drive)|(gcp)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(login)|(meet)|(mobile)|(rules)|(saml)|(token)|(user_accounts)|(vault)"

What is the correct application name to use for fetching Gmail logs?

0 3 345
3 REPLIES 3
Top Labels in this Space