GCP - Setup a Log Sink
Setup Log Sink Using Google Cloud Console
Navigate to
"Logging" > "Log Router" > "Create Sink"
.
Provide a
Sink name
and description.
For
Sink destination
, select
"Cloud Pub/Sub topic"
. Choose an existing topic "cytech-elasticsearch".
Under
"Choose logs to include in sink"
, use a filter like:
logName:"cloudaudit.googleapis.com"
Create Sink.
Revision #2
Created 9 May 2025 07:23:40 by Richmond Abella
Updated 9 May 2025 07:25:38 by Richmond Abella