{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cockroach-labs/main/json-schema/cockroach-labs-enable-log-export-request-schema.json",
  "title": "EnableLogExportRequest",
  "description": "Request body for enabling log export.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cockroach-labs-logexport-api-openapi.yml#/components/schemas/EnableLogExportRequest",
  "type": "object",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "Type of log export destination. Accepted values are AWS_CLOUDWATCH and GCP_CLOUD_LOGGING.",
      "enum": [
        "AWS_CLOUDWATCH",
        "GCP_CLOUD_LOGGING"
      ]
    },
    "log_name": {
      "type": "string",
      "description": "Name for the log stream or log group."
    },
    "groups": {
      "type": "array",
      "description": "Channel groups to export.",
      "items": {
        "type": "object"
      }
    }
  }
}