@@ -63735,6 +63735,199 @@ components:
6373563735 x-enum-varnames:
6373663736 - BLOCK
6373763737 - DROP_NEWEST
63738+ ObservabilityPipelineClickhouseDestination:
63739+ description: |-
63740+ The `clickhouse` destination sends log events to a ClickHouse database table over HTTP.
63741+
63742+ **Supported pipeline types:** logs.
63743+ properties:
63744+ auth:
63745+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationAuth"
63746+ batch:
63747+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationBatch"
63748+ batch_encoding:
63749+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationBatchEncoding"
63750+ compression:
63751+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationCompression"
63752+ database:
63753+ description: Optional ClickHouse database name. If omitted, the user's default database on the ClickHouse server is used.
63754+ example: my_database
63755+ type: string
63756+ date_time_best_effort:
63757+ description: When `true`, enables flexible DateTime parsing on the ClickHouse server side.
63758+ example: false
63759+ type: boolean
63760+ endpoint_url_key:
63761+ description: |-
63762+ Name of the environment variable or secret that contains the ClickHouse HTTP endpoint URL.
63763+ Defaults to `DESTINATION_CLICKHOUSE_ENDPOINT_URL` (prefixed with `DD_OP_` at runtime).
63764+ example: CLICKHOUSE_ENDPOINT_URL
63765+ type: string
63766+ format:
63767+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationFormat"
63768+ id:
63769+ description: The unique identifier for this component. Use it to reference this component from other parts of the pipeline.
63770+ example: clickhouse-destination
63771+ type: string
63772+ inputs:
63773+ description: A list of component IDs whose output is used as the `input` for this component.
63774+ example: ["filter-processor"]
63775+ items:
63776+ description: The ID of a component whose output is used as input for this destination.
63777+ type: string
63778+ type: array
63779+ skip_unknown_fields:
63780+ description: |-
63781+ When `true`, fields not present in the target table schema are dropped instead of causing insert errors.
63782+ When unset, the ClickHouse server's own `input_format_skip_unknown_fields` setting applies.
63783+ example: true
63784+ nullable: true
63785+ type: boolean
63786+ table:
63787+ description: Target ClickHouse table name. Events are inserted into this table.
63788+ example: application_logs
63789+ type: string
63790+ tls:
63791+ $ref: "#/components/schemas/ObservabilityPipelineTls"
63792+ type:
63793+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationType"
63794+ required:
63795+ - id
63796+ - type
63797+ - inputs
63798+ - table
63799+ type: object
63800+ x-pipeline-types: [logs]
63801+ ObservabilityPipelineClickhouseDestinationAuth:
63802+ description: |-
63803+ HTTP Basic Authentication credentials for the ClickHouse destination.
63804+ When `strategy` is `basic`, provide `username_key` and `password_key` that reference environment variables or secrets containing the credentials.
63805+ properties:
63806+ password_key:
63807+ description: Name of the environment variable or secret that contains the ClickHouse password.
63808+ example: CLICKHOUSE_PASSWORD
63809+ type: string
63810+ strategy:
63811+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationAuthStrategy"
63812+ username_key:
63813+ description: Name of the environment variable or secret that contains the ClickHouse username.
63814+ example: CLICKHOUSE_USERNAME
63815+ type: string
63816+ required:
63817+ - strategy
63818+ type: object
63819+ ObservabilityPipelineClickhouseDestinationAuthStrategy:
63820+ description: The authentication strategy for ClickHouse HTTP requests. Only `basic` is supported.
63821+ enum:
63822+ - basic
63823+ example: basic
63824+ type: string
63825+ x-enum-varnames:
63826+ - BASIC
63827+ ObservabilityPipelineClickhouseDestinationBatch:
63828+ description: Batching configuration for ClickHouse inserts.
63829+ properties:
63830+ max_events:
63831+ description: Maximum number of events per batch before it is flushed.
63832+ example: 1000
63833+ format: int64
63834+ minimum: 1
63835+ type: integer
63836+ timeout_secs:
63837+ description: Maximum number of seconds to wait before flushing a partial batch.
63838+ example: 1
63839+ format: int64
63840+ maximum: 65535
63841+ minimum: 1
63842+ type: integer
63843+ type: object
63844+ ObservabilityPipelineClickhouseDestinationBatchEncoding:
63845+ description: |-
63846+ Batch encoding configuration for the ClickHouse destination.
63847+ Required when `format` is `arrow_stream`. The `codec` field must be set to `arrow_stream`.
63848+ properties:
63849+ allow_nullable_fields:
63850+ description: |-
63851+ When `true`, null values are allowed for non-nullable fields in the ClickHouse schema.
63852+ When `false` (default), missing values for non-nullable columns cause encoding errors.
63853+ example: false
63854+ type: boolean
63855+ codec:
63856+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationBatchEncodingCodec"
63857+ required:
63858+ - codec
63859+ type: object
63860+ ObservabilityPipelineClickhouseDestinationBatchEncodingCodec:
63861+ description: The codec used for batch encoding. Only `arrow_stream` is supported.
63862+ enum:
63863+ - arrow_stream
63864+ example: arrow_stream
63865+ type: string
63866+ x-enum-varnames:
63867+ - ARROW_STREAM
63868+ ObservabilityPipelineClickhouseDestinationCompression:
63869+ description: |-
63870+ Compression setting for outbound HTTP requests to ClickHouse.
63871+ Can be specified as a shorthand string (`"gzip"` or `"none"`) or as an object
63872+ with an `algorithm` field and an optional `level` (gzip only, 1–9).
63873+ oneOf:
63874+ - $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationCompressionAlgorithm"
63875+ - $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationCompressionObject"
63876+ ObservabilityPipelineClickhouseDestinationCompressionAlgorithm:
63877+ description: The compression algorithm applied to outbound HTTP requests.
63878+ enum:
63879+ - gzip
63880+ - none
63881+ example: gzip
63882+ type: string
63883+ x-enum-varnames:
63884+ - GZIP
63885+ - NONE
63886+ ObservabilityPipelineClickhouseDestinationCompressionObject:
63887+ description: |-
63888+ Structured compression configuration for the ClickHouse destination.
63889+ Use `algorithm` to specify the compression type and `level` (optional, gzip only) to control compression strength.
63890+ properties:
63891+ algorithm:
63892+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationCompressionAlgorithm"
63893+ level:
63894+ description: Compression level (1–9). Only applicable when `algorithm` is `gzip`.
63895+ example: 6
63896+ format: int64
63897+ maximum: 9
63898+ minimum: 1
63899+ type: integer
63900+ required:
63901+ - algorithm
63902+ type: object
63903+ ObservabilityPipelineClickhouseDestinationFormat:
63904+ description: |-
63905+ Insert format for events sent to ClickHouse.
63906+ - `json_each_row`: Maps event fields to columns by name (ClickHouse `JSONEachRow`).
63907+ - `json_as_object`: Inserts each event into a single `Object('json')` / `JSON` column (ClickHouse `JSONAsObject`).
63908+ - `json_as_string`: Inserts each event into a single `String`-typed column as raw JSON (ClickHouse `JSONAsString`).
63909+ - `arrow_stream`: Batches events using Apache Arrow IPC streaming format. Requires `batch_encoding`.
63910+ enum:
63911+ - json_each_row
63912+ - json_as_object
63913+ - json_as_string
63914+ - arrow_stream
63915+ example: json_each_row
63916+ type: string
63917+ x-enum-varnames:
63918+ - JSON_EACH_ROW
63919+ - JSON_AS_OBJECT
63920+ - JSON_AS_STRING
63921+ - ARROW_STREAM
63922+ ObservabilityPipelineClickhouseDestinationType:
63923+ default: clickhouse
63924+ description: The destination type. The value must be `clickhouse`.
63925+ enum:
63926+ - clickhouse
63927+ example: clickhouse
63928+ type: string
63929+ x-enum-varnames:
63930+ - CLICKHOUSE
6373863931 ObservabilityPipelineCloudPremDestination:
6373963932 description: |-
6374063933 The `cloud_prem` destination sends logs to Datadog CloudPrem.
@@ -63834,6 +64027,7 @@ components:
6383464027 - $ref: "#/components/schemas/ObservabilityPipelineAmazonS3GenericDestination"
6383564028 - $ref: "#/components/schemas/ObservabilityPipelineAmazonSecurityLakeDestination"
6383664029 - $ref: "#/components/schemas/AzureStorageDestination"
64030+ - $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestination"
6383764031 - $ref: "#/components/schemas/ObservabilityPipelineCloudPremDestination"
6383864032 - $ref: "#/components/schemas/ObservabilityPipelineCrowdStrikeNextGenSiemDestination"
6383964033 - $ref: "#/components/schemas/ObservabilityPipelineDatadogLogsDestination"
0 commit comments