fastly logging datadog create
Create a Datadog logging endpoint on a Fastly service version
Options
Name | Description |
---|---|
--name <name> | The name of the Datadog logging object. Used as a primary key for API access |
--version <version> | 'latest', 'active', or the number of a specific version |
--autoclone | If the selected service version is not editable, clone it and use the clone |
--auth-token <auth-token> | The API key from your Datadog account |
--service-id <service-id> | Service ID (falls back to FASTLY_SERVICE_ID, then fastly.toml) |
--service-name <service-name> | The name of the service |
--region <region> | The region that log data will be sent to. One of US or EU. Defaults to US if undefined |
--format <format> | Apache style log formatting. For details on the default value refer to the documentation (https://developer.fastly.com/reference/api/logging/datadog/) |
--format-version <format-version> | The version of the custom logging format used for the configured endpoint. Can be either 2 (default) or 1 |
--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 |