fastly logging googlepubsub create

Create a Google Cloud Pub/Sub logging endpoint on a Fastly service version

Options

NameDescription
--name <name>The name of the Google Cloud Pub/Sub logging object. Used as a primary key for API access
--version <version>'latest', 'active', or the number of a specific version
--autocloneIf the selected service version is not editable, clone it and use the clone
--user <user>Your Google Cloud Platform service account email address. The client_email field in your service account authentication JSON
--secret-key <secret-key>Your Google Cloud Platform account secret key. The private_key field in your service account authentication JSON
--topic <topic>The Google Cloud Pub/Sub topic to which logs will be published
--project-id <project-id>The ID of your Google Cloud Platform project
--service-id <service-id>Service ID (falls back to FASTLY_SERVICE_ID, then fastly.toml)
--service-name <service-name>The name of the service
--format <format>Apache style log formatting
--format-version <format-version>The version of the custom logging format used for the configured endpoint. Can be either 2 (default) or 1
--placement <placement>Where in the generated VCL the logging call should be placed, overriding any format_version default. Can be none or waf_debug. This field is not required and has no default value
--response-condition <response-condition>The name of an existing condition in the configured endpoint, or leave blank to always execute