Fastly · Schema

LoggingCommon

Common properties shared across all logging endpoint types.

CDNEdge CloudEdge ComputeWebAssemblySecurityAIObservabilityAsyncAPIStreamingWebhooksLogging

Properties

Name Type Description
name string The name for the real-time logging configuration.
placement string Where in the generated VCL the logging call should be placed.
format_version integer The version of the custom logging format used for the configured endpoint.
response_condition string The name of an existing condition in the configured endpoint, or leave blank to always execute.
format string A Fastly log format string. Supports Apache Common Log variables.
View JSON Schema on GitHub

JSON Schema

fastly-loggingcommon-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LoggingCommon",
  "title": "LoggingCommon",
  "type": "object",
  "description": "Common properties shared across all logging endpoint types.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name for the real-time logging configuration."
    },
    "placement": {
      "type": "string",
      "description": "Where in the generated VCL the logging call should be placed.",
      "enum": [
        "none",
        "waf_debug",
        null
      ]
    },
    "format_version": {
      "type": "integer",
      "description": "The version of the custom logging format used for the configured endpoint.",
      "enum": [
        1,
        2
      ]
    },
    "response_condition": {
      "type": "string",
      "description": "The name of an existing condition in the configured endpoint, or leave blank to always execute."
    },
    "format": {
      "type": "string",
      "description": "A Fastly log format string. Supports Apache Common Log variables."
    }
  }
}