An enterprise organization operates a multi-tenant payment platform across dozens of Google Cloud projects. To satisfy strict security compliance and operational requirements, high-severity application errors and audit logs across all projects must be aggregated into a centralized BigQuery dataset managed by the Security Operations team. However, high log generation rates from non-production diagnostic logging threaten to cause excessive Cloud Logging ingestion and storage costs. Which log routing and governance architecture should the Lead Cloud Architect implement?
- Create an aggregated Log Router sink at the organization folder level using an inclusion filter that selects audit logs and entries with severity equal to or greater than ERROR, routing to the central BigQuery dataset, while applying exclusion filters in non-production projects targeting only diagnostic logs with severity less than ERROR.Cevap
- BCreate an aggregated Log Router sink at the organization level to capture all project log entries, and apply a global log exclusion filter defined as severity greater than or equal to ERROR across non-production projects to minimize overall ingestion costs.
- CConfigure individual project-level Log Router sinks across all projects pointing to the central BigQuery dataset, and grant the primitive Owner role to each sink service account on the destination log sink project to guarantee continuous write access.
- DConfigure Log Router sinks across all workload projects to export log streams directly to a centralized Cloud Storage bucket, relying solely on IAM user access control lists to prevent unauthorized access and data exfiltration from the destination log bucket.
Cevap
Implement an organization-level aggregated Log Router sink configured with explicit inclusion filters for audit logs and error severity (severity >= ERROR), while using exclusion filters in non-production projects strictly for low-severity diagnostic logs (severity < ERROR).
Creating an aggregated Log Router sink at the organization or folder level ensures centralized compliance and operational log aggregation into BigQuery across all project environments. Configuring inclusion filters for audit logs and high severity levels (severity >= ERROR) combined with non-production exclusion filters for lower severity levels (severity < ERROR) successfully reduces storage costs without discarding critical incident diagnostic data.
Adım Adım Çözüm
Anahtar Kavram
Log Router aggregated sinks and inclusion/exclusion filter strategy for enterprise observability and cost optimization.