Mbal
Mbal

Reputation: 1

How to get all users logged into GCP project

I am trying to build a dashboard to get all logged in users accessing GCP project. Is there a way to get the details from the log explorer and build a dashboard for monitoring and alerting. I am not the admin of the google account, so don't have access to admin console. Wanted to build dashboard on Google cloud console

I tried to put filter in Audit logs, but its pulling all activities for all users using the specific gcp project

Upvotes: 0

Views: 482

Answers (1)

Julio Porto
Julio Porto

Reputation: 128

You can create a Log sink and include in your filter:

  • "cloudaudit.googleapis.com/activity" "cloudaudit.googleapis.com/data_access" "cloudaudit.googleapis.com/system_event" "cloudaudit.googleapis.com/access_transparency"

Upvotes: 0

Related Questions