QuestionQ69

VerifiedImplementing observability practices and troubleshooting issues

Your organization keeps all application logs from multiple Google Cloud projects in a central Cloud Logging project. Your security team wants to enforce a rule that each project team can view only its own logs, while only the operations team can view all logs. You need to design a solution that satisfies the security team’s requirements while minimizing costs. What should you do?

Explanation

Cloud Logging log views can restrict a principal to a subset of entries in a centralized log bucket. Create a filtered view for each project team that includes only that team’s application logs, and grant the team access only to its view. The automatically created _AllLogs view includes every log entry in the bucket, so granting the operations team access to it provides the required full visibility without exporting or duplicating logs to BigQuery.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!