@@ -43029,6 +43029,7 @@ components:
4302943029 ObservabilityPipelineConfigDestinationItem:
4303043030 description: "A destination for the pipeline."
4303143031 oneOf:
43032+ - $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestination"
4303243033 - $ref: "#/components/schemas/ObservabilityPipelineHttpClientDestination"
4303343034 - $ref: "#/components/schemas/ObservabilityPipelineAmazonOpenSearchDestination"
4303443035 - $ref: "#/components/schemas/ObservabilityPipelineAmazonS3Destination"
@@ -43038,7 +43039,6 @@ components:
4303843039 - $ref: "#/components/schemas/ObservabilityPipelineCloudPremDestination"
4303943040 - $ref: "#/components/schemas/ObservabilityPipelineCrowdStrikeNextGenSiemDestination"
4304043041 - $ref: "#/components/schemas/ObservabilityPipelineDatadogLogsDestination"
43041- - $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestination"
4304243042 - $ref: "#/components/schemas/ObservabilityPipelineGoogleChronicleDestination"
4304343043 - $ref: "#/components/schemas/ObservabilityPipelineGoogleCloudStorageDestination"
4304443044 - $ref: "#/components/schemas/ObservabilityPipelineGooglePubSubDestination"
@@ -43640,9 +43640,9 @@ components:
4364043640 type: object
4364143641 ObservabilityPipelineElasticsearchDestination:
4364243642 description: |-
43643- The `elasticsearch` destination writes logs to an Elasticsearch cluster.
43643+ The `elasticsearch` destination writes logs or metrics to an Elasticsearch cluster.
4364443644
43645- **Supported pipeline types:** logs
43645+ **Supported pipeline types:** logs, metrics
4364643646 properties:
4364743647 api_version:
4364843648 $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationApiVersion"
@@ -43651,9 +43651,11 @@ components:
4365143651 buffer:
4365243652 $ref: "#/components/schemas/ObservabilityPipelineBufferOptions"
4365343653 bulk_index:
43654- description: The index to write logs to in Elasticsearch.
43654+ description: The name of the index to write events to in Elasticsearch.
4365543655 example: logs-index
4365643656 type: string
43657+ compression:
43658+ $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationCompression"
4365743659 data_stream:
4365843660 $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationDataStream"
4365943661 endpoint_url_key:
@@ -43664,21 +43666,34 @@ components:
4366443666 description: The unique identifier for this component.
4366543667 example: "elasticsearch-destination"
4366643668 type: string
43669+ id_key:
43670+ description: The name of the field used as the document ID in Elasticsearch.
43671+ example: id
43672+ type: string
4366743673 inputs:
4366843674 description: A list of component IDs whose output is used as the `input` for this component.
4366943675 example: ["filter-processor"]
4367043676 items:
4367143677 description: The ID of a component whose output is used as input for this destination.
4367243678 type: string
4367343679 type: array
43680+ pipeline:
43681+ description: The name of an Elasticsearch ingest pipeline to apply to events before indexing.
43682+ example: my-pipeline
43683+ type: string
43684+ request_retry_partial:
43685+ description: When `true`, retries failed partial bulk requests when some events in a batch fail while others succeed.
43686+ type: boolean
43687+ tls:
43688+ $ref: "#/components/schemas/ObservabilityPipelineTls"
4367443689 type:
4367543690 $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationType"
4367643691 required:
4367743692 - id
4367843693 - type
4367943694 - inputs
4368043695 type: object
43681- x-pipeline-types: [logs]
43696+ x-pipeline-types: [logs, metrics ]
4368243697 ObservabilityPipelineElasticsearchDestinationApiVersion:
4368343698 description: The Elasticsearch API version to use. Set to `auto` to auto-detect.
4368443699 enum: [auto, v6, v7, v8]
@@ -43707,18 +43722,35 @@ components:
4370743722 required:
4370843723 - strategy
4370943724 type: object
43725+ ObservabilityPipelineElasticsearchDestinationCompression:
43726+ description: The compression algorithm applied when sending data to Elasticsearch.
43727+ enum: [none, gzip, zlib, zstd, snappy]
43728+ example: gzip
43729+ type: string
43730+ x-enum-varnames:
43731+ - NONE
43732+ - GZIP
43733+ - ZLIB
43734+ - ZSTD
43735+ - SNAPPY
4371043736 ObservabilityPipelineElasticsearchDestinationDataStream:
4371143737 description: Configuration options for writing to Elasticsearch Data Streams instead of a fixed index.
4371243738 properties:
43739+ auto_routing:
43740+ description: When `true`, automatically routes events to the appropriate data stream based on the event content.
43741+ type: boolean
4371343742 dataset:
43714- description: The data stream dataset for your logs . This groups logs by their source or application.
43743+ description: The data stream dataset. This groups events by their source or application.
4371543744 type: string
4371643745 dtype:
43717- description: The data stream type for your logs . This determines how logs are categorized within the data stream.
43746+ description: The data stream type. This determines how events are categorized within the data stream.
4371843747 type: string
4371943748 namespace:
43720- description: The data stream namespace for your logs . This separates logs into different environments or domains.
43749+ description: The data stream namespace. This separates events into different environments or domains.
4372143750 type: string
43751+ sync_fields:
43752+ description: When `true`, synchronizes data stream fields with the Elasticsearch index mapping.
43753+ type: boolean
4372243754 type: object
4372343755 ObservabilityPipelineElasticsearchDestinationType:
4372443756 default: elasticsearch
0 commit comments