Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 40 additions & 8 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43029,6 +43029,7 @@ components:
ObservabilityPipelineConfigDestinationItem:
description: "A destination for the pipeline."
oneOf:
- $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestination"
- $ref: "#/components/schemas/ObservabilityPipelineHttpClientDestination"
- $ref: "#/components/schemas/ObservabilityPipelineAmazonOpenSearchDestination"
- $ref: "#/components/schemas/ObservabilityPipelineAmazonS3Destination"
Expand All @@ -43038,7 +43039,6 @@ components:
- $ref: "#/components/schemas/ObservabilityPipelineCloudPremDestination"
- $ref: "#/components/schemas/ObservabilityPipelineCrowdStrikeNextGenSiemDestination"
- $ref: "#/components/schemas/ObservabilityPipelineDatadogLogsDestination"
- $ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestination"
- $ref: "#/components/schemas/ObservabilityPipelineGoogleChronicleDestination"
- $ref: "#/components/schemas/ObservabilityPipelineGoogleCloudStorageDestination"
- $ref: "#/components/schemas/ObservabilityPipelineGooglePubSubDestination"
Expand Down Expand Up @@ -43640,9 +43640,9 @@ components:
type: object
ObservabilityPipelineElasticsearchDestination:
description: |-
The `elasticsearch` destination writes logs to an Elasticsearch cluster.
The `elasticsearch` destination writes logs or metrics to an Elasticsearch cluster.

**Supported pipeline types:** logs
**Supported pipeline types:** logs, metrics
properties:
api_version:
$ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationApiVersion"
Expand All @@ -43651,9 +43651,11 @@ components:
buffer:
$ref: "#/components/schemas/ObservabilityPipelineBufferOptions"
bulk_index:
description: The index to write logs to in Elasticsearch.
description: The name of the index to write events to in Elasticsearch.
example: logs-index
type: string
compression:
$ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationCompression"
data_stream:
$ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationDataStream"
endpoint_url_key:
Expand All @@ -43664,21 +43666,34 @@ components:
description: The unique identifier for this component.
example: "elasticsearch-destination"
type: string
id_key:
description: The name of the field used as the document ID in Elasticsearch.
example: id
type: string
inputs:
description: A list of component IDs whose output is used as the `input` for this component.
example: ["filter-processor"]
items:
description: The ID of a component whose output is used as input for this destination.
type: string
type: array
pipeline:
description: The name of an Elasticsearch ingest pipeline to apply to events before indexing.
example: my-pipeline
type: string
request_retry_partial:
description: When `true`, retries failed partial bulk requests when some events in a batch fail while others succeed.
type: boolean
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
type:
$ref: "#/components/schemas/ObservabilityPipelineElasticsearchDestinationType"
required:
- id
- type
- inputs
type: object
x-pipeline-types: [logs]
x-pipeline-types: [logs, metrics]
ObservabilityPipelineElasticsearchDestinationApiVersion:
description: The Elasticsearch API version to use. Set to `auto` to auto-detect.
enum: [auto, v6, v7, v8]
Expand Down Expand Up @@ -43707,18 +43722,35 @@ components:
required:
- strategy
type: object
ObservabilityPipelineElasticsearchDestinationCompression:
description: The compression algorithm applied when sending data to Elasticsearch.
enum: [none, gzip, zlib, zstd, snappy]
example: gzip
type: string
x-enum-varnames:
- NONE
- GZIP
- ZLIB
- ZSTD
- SNAPPY
ObservabilityPipelineElasticsearchDestinationDataStream:
description: Configuration options for writing to Elasticsearch Data Streams instead of a fixed index.
properties:
auto_routing:
description: When `true`, automatically routes events to the appropriate data stream based on the event content.
type: boolean
dataset:
description: The data stream dataset for your logs. This groups logs by their source or application.
description: The data stream dataset. This groups events by their source or application.
type: string
dtype:
description: The data stream type for your logs. This determines how logs are categorized within the data stream.
description: The data stream type. This determines how events are categorized within the data stream.
type: string
namespace:
description: The data stream namespace for your logs. This separates logs into different environments or domains.
description: The data stream namespace. This separates events into different environments or domains.
type: string
sync_fields:
description: When `true`, synchronizes data stream fields with the Elasticsearch index mapping.
type: boolean
type: object
ObservabilityPipelineElasticsearchDestinationType:
default: elasticsearch
Expand Down
Loading
Loading