@@ -63735,6 +63735,200 @@ 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. When 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 holds 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. Used 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` referencing
63805+ environment variables or secrets that hold the credentials.
63806+ properties:
63807+ password_key:
63808+ description: Name of the environment variable or secret that holds the ClickHouse password.
63809+ example: CLICKHOUSE_PASSWORD
63810+ type: string
63811+ strategy:
63812+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationAuthStrategy"
63813+ username_key:
63814+ description: Name of the environment variable or secret that holds the ClickHouse username.
63815+ example: CLICKHOUSE_USERNAME
63816+ type: string
63817+ required:
63818+ - strategy
63819+ type: object
63820+ ObservabilityPipelineClickhouseDestinationAuthStrategy:
63821+ description: The authentication strategy for ClickHouse HTTP requests. Only `basic` is supported.
63822+ enum:
63823+ - basic
63824+ example: basic
63825+ type: string
63826+ x-enum-varnames:
63827+ - BASIC
63828+ ObservabilityPipelineClickhouseDestinationBatch:
63829+ description: Batching configuration for ClickHouse inserts.
63830+ properties:
63831+ max_events:
63832+ description: Maximum number of events per batch before it is flushed.
63833+ example: 1000
63834+ format: int64
63835+ minimum: 1
63836+ type: integer
63837+ timeout_secs:
63838+ description: Maximum number of seconds to wait before flushing a partial batch.
63839+ example: 1
63840+ format: int64
63841+ maximum: 65535
63842+ minimum: 1
63843+ type: integer
63844+ type: object
63845+ ObservabilityPipelineClickhouseDestinationBatchEncoding:
63846+ description: |-
63847+ Batch encoding configuration for the ClickHouse destination.
63848+ Required when `format` is `arrow_stream`. The `codec` field must be set to `arrow_stream`.
63849+ properties:
63850+ allow_nullable_fields:
63851+ description: |-
63852+ When `true`, null values are allowed for non-nullable fields in the ClickHouse schema.
63853+ When `false` (default), missing values for non-nullable columns cause encoding errors.
63854+ example: false
63855+ type: boolean
63856+ codec:
63857+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationBatchEncodingCodec"
63858+ required:
63859+ - codec
63860+ type: object
63861+ ObservabilityPipelineClickhouseDestinationBatchEncodingCodec:
63862+ description: The codec used for batch encoding. Only `arrow_stream` is supported.
63863+ enum:
63864+ - arrow_stream
63865+ example: arrow_stream
63866+ type: string
63867+ x-enum-varnames:
63868+ - ARROW_STREAM
63869+ ObservabilityPipelineClickhouseDestinationCompression:
63870+ description: |-
63871+ Compression setting for outbound HTTP requests to ClickHouse.
63872+ Can be specified as a shorthand string (`"gzip"` or `"none"`) or as an object
63873+ with an `algorithm` field and an optional `level` (gzip only, 1–9).
63874+ oneOf:
63875+ - $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationCompressionAlgorithm"
63876+ - $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationCompressionObject"
63877+ ObservabilityPipelineClickhouseDestinationCompressionAlgorithm:
63878+ description: The compression algorithm applied to outbound HTTP requests.
63879+ enum:
63880+ - gzip
63881+ - none
63882+ example: gzip
63883+ type: string
63884+ x-enum-varnames:
63885+ - GZIP
63886+ - NONE
63887+ ObservabilityPipelineClickhouseDestinationCompressionObject:
63888+ description: |-
63889+ Structured compression configuration for the ClickHouse destination.
63890+ Use `algorithm` to specify the compression type and `level` (optional, gzip only) to control compression strength.
63891+ properties:
63892+ algorithm:
63893+ $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestinationCompressionAlgorithm"
63894+ level:
63895+ description: Compression level (1–9). Only applicable when `algorithm` is `gzip`.
63896+ example: 6
63897+ format: int64
63898+ maximum: 9
63899+ minimum: 1
63900+ type: integer
63901+ required:
63902+ - algorithm
63903+ type: object
63904+ ObservabilityPipelineClickhouseDestinationFormat:
63905+ description: |-
63906+ Insert format for events sent to ClickHouse.
63907+ - `json_each_row`: Maps event fields to columns by name (ClickHouse `JSONEachRow`).
63908+ - `json_as_object`: Inserts each event into a single `Object('json')` / `JSON` column (ClickHouse `JSONAsObject`).
63909+ - `json_as_string`: Inserts each event into a single `String`-typed column as raw JSON (ClickHouse `JSONAsString`).
63910+ - `arrow_stream`: Batches events using Apache Arrow IPC streaming format. Requires `batch_encoding`.
63911+ enum:
63912+ - json_each_row
63913+ - json_as_object
63914+ - json_as_string
63915+ - arrow_stream
63916+ example: json_each_row
63917+ type: string
63918+ x-enum-varnames:
63919+ - JSON_EACH_ROW
63920+ - JSON_AS_OBJECT
63921+ - JSON_AS_STRING
63922+ - ARROW_STREAM
63923+ ObservabilityPipelineClickhouseDestinationType:
63924+ default: clickhouse
63925+ description: The destination type. The value must be `clickhouse`.
63926+ enum:
63927+ - clickhouse
63928+ example: clickhouse
63929+ type: string
63930+ x-enum-varnames:
63931+ - CLICKHOUSE
6373863932 ObservabilityPipelineCloudPremDestination:
6373963933 description: |-
6374063934 The `cloud_prem` destination sends logs to Datadog CloudPrem.
@@ -63834,6 +64028,7 @@ components:
6383464028 - $ref: "#/components/schemas/ObservabilityPipelineAmazonS3GenericDestination"
6383564029 - $ref: "#/components/schemas/ObservabilityPipelineAmazonSecurityLakeDestination"
6383664030 - $ref: "#/components/schemas/AzureStorageDestination"
64031+ - $ref: "#/components/schemas/ObservabilityPipelineClickhouseDestination"
6383764032 - $ref: "#/components/schemas/ObservabilityPipelineCloudPremDestination"
6383864033 - $ref: "#/components/schemas/ObservabilityPipelineCrowdStrikeNextGenSiemDestination"
6383964034 - $ref: "#/components/schemas/ObservabilityPipelineDatadogLogsDestination"
0 commit comments