Good morning,
I am having trouble getting admin.googleapis.com logs from the organization level to the pub/sub project level. At this point in time the only logs that are ingested from the org level to the project level are ouath2.googleapis.com logs and login.googleapis.com logs. I have followed several google knowledge base guides on how to configure a pubsub project, and thankfully they did allow me to start ingesting logs from Workspace to GCP; however, the logs are not making the next leap from the Organization level to the Pub/Sub level - any guidance?
Also, I am not able to get Drive Activity logs whatsoever (the appropriate API's are enabled as far as I know). Is this something that I will just have to do via API within Google Workspace? Or is there something that I am missing? My ultimate goal is to have all Google Workspace organization logs within a Pub/Sub project so I can then forward them elsewhere.
Thank you in advance.
Hi @NFbdr,
Welcome to Google Cloud Community!
Getting all Google Workspace organization logs into a single Pub/Sub topic requires an approach involving careful sink configuration, proper IAM roles, and potentially integrating other APIs (like the Drive API) directly. Start by checking the permissions and sink configurations, and gradually test each component until the issue is identified. The lack of Drive Activity logs almost certainly points to needing the Google Workspace Drive API to access the data.
For your concern about admin.googleapis.com logs not flowing to Pub/Sub:
Regarding your issue about Drive Activity logs not appearing:
Here are the troubleshooting steps:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Hi Ruthseki,
I have all of the appropriate API's enabled; however, Drive Activity Logs are still not propagating in my GCP logs at the org level or the project level. What are some additional steps that you recommend?
The goal is to have specific Google Drive Logs related to DLP policies to populate within GCP when the rules are triggered. Any guidance is much appreciated.