easygcloud

Create a Cloud Logging sink to export audit logs to Cloud Storage

command

gcloud logging sinks create audit-export storage.googleapis.com/compliance-logs-bucket --log-filter='logName:cloudaudit.googleapis.com'

Test your recall — not just your reading.

Practice with interactive quiz →