Project Sink
Import
Project-level logging sinks can be imported using their URI, e.g.
$ pulumi import gcp:logging/projectSink:ProjectSink my_sink projects/my-project/sinks/my-sink
Content copied to clipboard
Properties
Link copied to clipboard
The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.
Link copied to clipboard
Whether or not to create a unique identity associated with this sink. If false
(the default), then the writer_identity
used is serviceAccount:cloud-logs@system.gserviceaccount.com
. If true
, then a unique service account is created and used for this sink. If you wish to publish logs across projects or utilize bigquery_options
, you must set unique_writer_identity
to true.