Package com.datadog.api.client.v2.model
Class ObservabilityPipelineElasticsearchDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineElasticsearchDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineElasticsearchDestination
extends Object
The
elasticsearch destination writes logs or metrics to an Elasticsearch cluster.
Supported pipeline types: logs, metrics
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineElasticsearchDestination(String id, List<String> inputs, ObservabilityPipelineElasticsearchDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) endpointUrlKey(String endpointUrlKey) booleanReturn true if this ObservabilityPipelineElasticsearchDestination object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The Elasticsearch API version to use.getAuth()Authentication settings for the Elasticsearch destination.Configuration for buffer settings on destination components.The name of the index to write events to in Elasticsearch.Compression configuration for the Elasticsearch destination.Configuration options for writing to Elasticsearch Data Streams instead of a fixed index.Name of the environment variable or secret that holds the Elasticsearch endpoint URL.getId()The unique identifier for this component.getIdKey()The name of the field used as the document ID in Elasticsearch.A list of component IDs whose output is used as theinputfor this component.The name of an Elasticsearch ingest pipeline to apply to events before indexing.Whentrue, retries failed partial bulk requests when some events in a batch fail while others succeed.getTls()Configuration for enabling TLS encryption between the pipeline component and external services.getType()The destination type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requestRetryPartial(Boolean requestRetryPartial) voidvoidvoidvoidsetBulkIndex(String bulkIndex) voidvoidvoidsetEndpointUrlKey(String endpointUrlKey) voidvoidvoidvoidsetPipeline(String pipeline) voidsetRequestRetryPartial(Boolean requestRetryPartial) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_API_VERSION
- See Also:
-
JSON_PROPERTY_AUTH
- See Also:
-
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_BULK_INDEX
- See Also:
-
JSON_PROPERTY_COMPRESSION
- See Also:
-
JSON_PROPERTY_DATA_STREAM
- See Also:
-
JSON_PROPERTY_ENDPOINT_URL_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_ID_KEY
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_PIPELINE
- See Also:
-
JSON_PROPERTY_REQUEST_RETRY_PARTIAL
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineElasticsearchDestination
public ObservabilityPipelineElasticsearchDestination() -
ObservabilityPipelineElasticsearchDestination
public ObservabilityPipelineElasticsearchDestination(String id, List<String> inputs, ObservabilityPipelineElasticsearchDestinationType type)
-
-
Method Details
-
apiVersion
public ObservabilityPipelineElasticsearchDestination apiVersion(ObservabilityPipelineElasticsearchDestinationApiVersion apiVersion) -
getApiVersion
The Elasticsearch API version to use. Set toautoto auto-detect.- Returns:
- apiVersion
-
setApiVersion
-
auth
-
getAuth
Authentication settings for the Elasticsearch destination. Whenstrategyisbasic, useusername_keyandpassword_keyto reference credentials stored in environment variables or secrets.- Returns:
- auth
-
setAuth
-
buffer
public ObservabilityPipelineElasticsearchDestination buffer(ObservabilityPipelineBufferOptions buffer) -
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
bulkIndex
-
getBulkIndex
The name of the index to write events to in Elasticsearch.- Returns:
- bulkIndex
-
setBulkIndex
-
compression
public ObservabilityPipelineElasticsearchDestination compression(ObservabilityPipelineElasticsearchDestinationCompression compression) -
getCompression
Compression configuration for the Elasticsearch destination.- Returns:
- compression
-
setCompression
-
dataStream
public ObservabilityPipelineElasticsearchDestination dataStream(ObservabilityPipelineElasticsearchDestinationDataStream dataStream) -
getDataStream
Configuration options for writing to Elasticsearch Data Streams instead of a fixed index.- Returns:
- dataStream
-
setDataStream
-
endpointUrlKey
-
getEndpointUrlKey
Name of the environment variable or secret that holds the Elasticsearch endpoint URL.- Returns:
- endpointUrlKey
-
setEndpointUrlKey
-
id
-
getId
The unique identifier for this component.- Returns:
- id
-
setId
-
idKey
-
getIdKey
The name of the field used as the document ID in Elasticsearch.- Returns:
- idKey
-
setIdKey
-
inputs
-
addInputsItem
-
getInputs
A list of component IDs whose output is used as theinputfor this component.- Returns:
- inputs
-
setInputs
-
pipeline
-
getPipeline
The name of an Elasticsearch ingest pipeline to apply to events before indexing.- Returns:
- pipeline
-
setPipeline
-
requestRetryPartial
public ObservabilityPipelineElasticsearchDestination requestRetryPartial(Boolean requestRetryPartial) -
getRequestRetryPartial
Whentrue, retries failed partial bulk requests when some events in a batch fail while others succeed.- Returns:
- requestRetryPartial
-
setRequestRetryPartial
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external services.- Returns:
- tls
-
setTls
-
type
-
getType
The destination type. The value should always beelasticsearch.- Returns:
- type
-
setType
-
putAdditionalProperty
public ObservabilityPipelineElasticsearchDestination putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ObservabilityPipelineElasticsearchDestination
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ObservabilityPipelineElasticsearchDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-