Keboola · Schema

StreamUpdateSinkRequestBody

Data PlatformETLELTData PipelinesData StorageTransformationsOrchestrationData OperationsCloud DataSnowflakeBigQuery

Properties

Name Type Description
allowedSignals array Restricts the sink to specific OTLP signal types. Empty (default) accepts all signals. Only relevant for OTLP sources; HTTP sources ignore this field.
changeDescription string Description of the modification, description of the version.
description string Description of the source.
name string Human readable name of the sink.
table object
type string
View JSON Schema on GitHub

JSON Schema

keboola-streamupdatesinkrequestbody.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "StreamUpdateSinkRequestBody",
  "type": "object",
  "properties": {
    "allowedSignals": {
      "type": "array",
      "items": {
        "type": "string",
        "example": "logs",
        "enum": [
          "logs",
          "metrics",
          "traces"
        ]
      },
      "description": "Restricts the sink to specific OTLP signal types. Empty (default) accepts all signals. Only relevant for OTLP sources; HTTP sources ignore this field.",
      "example": [
        "logs"
      ]
    },
    "changeDescription": {
      "type": "string",
      "description": "Description of the modification, description of the version.",
      "example": "Renamed."
    },
    "description": {
      "type": "string",
      "description": "Description of the source.",
      "example": "The sink stores records to a table.",
      "maxLength": 4096
    },
    "name": {
      "type": "string",
      "description": "Human readable name of the sink.",
      "example": "Raw Data Sink",
      "minLength": 1,
      "maxLength": 40
    },
    "table": {
      "$ref": "#/definitions/TableSinkUpdate"
    },
    "type": {
      "type": "string",
      "example": "table",
      "enum": [
        "table"
      ]
    }
  },
  "example": {
    "changeDescription": "Renamed.",
    "type": "table",
    "name": "Raw Data Sink",
    "description": "The sink stores records to a table.",
    "allowedSignals": [
      "logs"
    ],
    "table": {
      "type": "keboola",
      "tableId": "in.c-bucket.table",
      "mapping": {
        "columns": [
          {
            "type": "uuid",
            "name": "id-col"
          },
          {
            "type": "datetime",
            "name": "datetime-col"
          },
          {
            "type": "ip",
            "name": "ip-col"
          },
          {
            "type": "headers",
            "name": "headers-col"
          },
          {
            "type": "body",
            "name": "body-col"
          },
          {
            "type": "path",
            "name": "path-col",
            "path": "foo.bar[0]",
            "rawString": true,
            "defaultValue": ""
          },
          {
            "type": "template",
            "name": "template-col",
            "template": {
              "language": "jsonnet",
              "content": "body.foo + \"-\" + body.bar"
            }
          }
        ]
      }
    }
  }
}