fastly logging papertrail create

Create a Papertrail logging endpoint on a Fastly service version

Options

NameDescription
--name <name>The name of the Papertrail 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
--address <address>A hostname or IPv4 address
--service-id <service-id>Service ID (falls back to FASTLY_SERVICE_ID, then fastly.toml)
--service-name <service-name>The name of the service
--port <port>The port number
--format-version <format-version>The version of the custom logging format used for the configured endpoint. Can be either 2 (the default, version 2 log format) or 1 (the version 1 log format). The logging call gets placed by default in vcl_log if format_version is set to 2 and in vcl_deliver if format_version is set to 1
--format <format>Apache style log formatting
--response-condition <response-condition>The name of an existing condition in the configured endpoint, or leave blank to always execute
--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