@@ -43722,6 +43722,7 @@ components:
4372243722 ObservabilityPipelineConfigDestinationItem:
4372343723 description: "A destination for the pipeline."
4372443724 oneOf:
43725+ - $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestination"
4372543726 - $ref: "#/components/schemas/ObservabilityPipelineHttpClientDestination"
4372643727 - $ref: "#/components/schemas/ObservabilityPipelineAmazonOpenSearchDestination"
4372743728 - $ref: "#/components/schemas/ObservabilityPipelineAmazonS3Destination"
@@ -43731,7 +43732,6 @@ components:
4373143732 - $ref: "#/components/schemas/ObservabilityPipelineCloudPremDestination"
4373243733 - $ref: "#/components/schemas/ObservabilityPipelineCrowdStrikeNextGenSiemDestination"
4373343734 - $ref: "#/components/schemas/ObservabilityPipelineDatadogLogsDestination"
43734- - $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestination"
4373543735 - $ref: "#/components/schemas/ObservabilityPipelineGoogleChronicleDestination"
4373643736 - $ref: "#/components/schemas/ObservabilityPipelineGoogleCloudStorageDestination"
4373743737 - $ref: "#/components/schemas/ObservabilityPipelineGooglePubSubDestination"
@@ -44333,9 +44333,9 @@ components:
4433344333 type: object
4433444334 ObservabilityPipelineElasticsearchDestination:
4433544335 description: |-
44336- The `elasticsearch` destination writes logs to an Elasticsearch cluster.
44336+ The `elasticsearch` destination writes logs or metrics to an Elasticsearch cluster.
4433744337
44338- **Supported pipeline types:** logs
44338+ **Supported pipeline types:** logs, metrics
4433944339 properties:
4434044340 api_version:
4434144341 $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationApiVersion"
@@ -44344,9 +44344,11 @@ components:
4434444344 buffer:
4434544345 $ref: "#/components/schemas/ObservabilityPipelineBufferOptions"
4434644346 bulk_index:
44347- description: The index to write logs to in Elasticsearch.
44347+ description: The name of the index to write events to in Elasticsearch.
4434844348 example: logs-index
4434944349 type: string
44350+ compression:
44351+ $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationCompression"
4435044352 data_stream:
4435144353 $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationDataStream"
4435244354 endpoint_url_key:
@@ -44357,21 +44359,34 @@ components:
4435744359 description: The unique identifier for this component.
4435844360 example: "elasticsearch-destination"
4435944361 type: string
44362+ id_key:
44363+ description: The name of the field used as the document ID in Elasticsearch.
44364+ example: id
44365+ type: string
4436044366 inputs:
4436144367 description: A list of component IDs whose output is used as the `input` for this component.
4436244368 example: ["filter-processor"]
4436344369 items:
4436444370 description: The ID of a component whose output is used as input for this destination.
4436544371 type: string
4436644372 type: array
44373+ pipeline:
44374+ description: The name of an Elasticsearch ingest pipeline to apply to events before indexing.
44375+ example: my-pipeline
44376+ type: string
44377+ request_retry_partial:
44378+ description: When `true`, retries failed partial bulk requests when some events in a batch fail while others succeed.
44379+ type: boolean
44380+ tls:
44381+ $ref: "#/components/schemas/ObservabilityPipelineTls"
4436744382 type:
4436844383 $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationType"
4436944384 required:
4437044385 - id
4437144386 - type
4437244387 - inputs
4437344388 type: object
44374- x-pipeline-types: [logs]
44389+ x-pipeline-types: [logs, metrics ]
4437544390 ObservabilityPipelineElasticsearchDestinationApiVersion:
4437644391 description: The Elasticsearch API version to use. Set to `auto` to auto-detect.
4437744392 enum: [auto, v6, v7, v8]
@@ -44400,18 +44415,48 @@ components:
4440044415 required:
4440144416 - strategy
4440244417 type: object
44418+ ObservabilityPipelineElasticsearchDestinationCompression:
44419+ description: Compression configuration for the Elasticsearch destination.
44420+ properties:
44421+ algorithm:
44422+ $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationCompressionAlgorithm"
44423+ level:
44424+ description: The compression level. Only applicable for `gzip`, `zlib`, and `zstd` algorithms.
44425+ example: 6
44426+ format: int64
44427+ type: integer
44428+ required:
44429+ - algorithm
44430+ type: object
44431+ ObservabilityPipelineElasticsearchDestinationCompressionAlgorithm:
44432+ description: The compression algorithm applied when sending data to Elasticsearch.
44433+ enum: [none, gzip, zlib, zstd, snappy]
44434+ example: gzip
44435+ type: string
44436+ x-enum-varnames:
44437+ - NONE
44438+ - GZIP
44439+ - ZLIB
44440+ - ZSTD
44441+ - SNAPPY
4440344442 ObservabilityPipelineElasticsearchDestinationDataStream:
4440444443 description: Configuration options for writing to Elasticsearch Data Streams instead of a fixed index.
4440544444 properties:
44445+ auto_routing:
44446+ description: When `true`, automatically routes events to the appropriate data stream based on the event content.
44447+ type: boolean
4440644448 dataset:
44407- description: The data stream dataset for your logs . This groups logs by their source or application.
44449+ description: The data stream dataset. This groups events by their source or application.
4440844450 type: string
4440944451 dtype:
44410- description: The data stream type for your logs . This determines how logs are categorized within the data stream.
44452+ description: The data stream type. This determines how events are categorized within the data stream.
4441144453 type: string
4441244454 namespace:
44413- description: The data stream namespace for your logs . This separates logs into different environments or domains.
44455+ description: The data stream namespace. This separates events into different environments or domains.
4441444456 type: string
44457+ sync_fields:
44458+ description: When `true`, synchronizes data stream fields with the Elasticsearch index mapping.
44459+ type: boolean
4441544460 type: object
4441644461 ObservabilityPipelineElasticsearchDestinationType:
4441744462 default: elasticsearch
0 commit comments