Using Console
Using CLI
[SINK_NAME]
with a name for the sink, [PROJECT_ID]
with the ID of the GCP project, and [TOPIC_NAME]
with the name of the Cloud Pub/Sub topic to export the logs to.[PROJECT_ID]
with the ID of the GCP project and [SINK_SERVICE_ACCOUNT]
with the email address of the service account used by the sink.[SINK_NAME]
with the name of the sink, [PROJECT_ID]
with the ID of the GCP project, and [TOPIC_NAME]
with the name of the Cloud Pub/Sub topic to export the logs to.Using Python