Class: DatadogAPIClient::V2::ObservabilityPipelineElasticsearchDestination

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb

Overview

The elasticsearch destination writes logs to an Elasticsearch cluster.

**Supported pipeline types:** logs

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



54
55
56
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb', line 54

def additional_properties
  @additional_properties
end

#api_versionObject

The Elasticsearch API version to use. Set to auto to auto-detect.



27
28
29
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb', line 27

def api_version
  @api_version
end

#authObject

Authentication settings for the Elasticsearch destination. When strategy is basic, use username_key and password_key to reference credentials stored in environment variables or secrets.



31
32
33
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb', line 31

def auth
  @auth
end

#bufferObject

Configuration for buffer settings on destination components.



34
35
36
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb', line 34

def buffer
  @buffer
end

#bulk_indexObject

The index to write logs to in Elasticsearch.



37
38
39
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb', line 37

def bulk_index
  @bulk_index
end

#data_streamObject

Configuration options for writing to Elasticsearch Data Streams instead of a fixed index.



40
41
42
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb', line 40

def data_stream
  @data_stream
end

#endpoint_url_keyObject

Name of the environment variable or secret that holds the Elasticsearch endpoint URL.



43
44
45
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb', line 43

def endpoint_url_key
  @endpoint_url_key
end

#idObject

The unique identifier for this component.



46
47
48
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb', line 46

def id
  @id
end

#inputsObject

A list of component IDs whose output is used as the input for this component.



49
50
51
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb', line 49

def inputs
  @inputs
end

#typeObject

The destination type. The value should always be elasticsearch.



52
53
54
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb', line 52

def type
  @type
end