Class: DatadogAPIClient::V2::ObservabilityPipelineSplunkHecMetricsDestination

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

Overview

The splunk_hec_metrics destination forwards metrics to Splunk using the HTTP Event Collector (HEC).

Supported pipeline types: metrics

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



62
63
64
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_metrics_destination.rb', line 62

def additional_properties
  @additional_properties
end

#buffer ⇒ Object

Configuration for buffer settings on destination components.



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

def buffer
  @buffer
end

#compression ⇒ Object

Compression algorithm applied when sending metrics to Splunk HEC.



30
31
32
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_metrics_destination.rb', line 30

def compression
  @compression
end

#default_namespace ⇒ Object

Optional default namespace for metrics sent to Splunk HEC.



33
34
35
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_metrics_destination.rb', line 33

def default_namespace
  @default_namespace
end

#endpoint_url_key ⇒ Object

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



36
37
38
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_metrics_destination.rb', line 36

def endpoint_url_key
  @endpoint_url_key
end

#id ⇒ Object

The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the input to downstream components).



39
40
41
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_metrics_destination.rb', line 39

def id
  @id
end

#index ⇒ Object

Optional name of the Splunk index where metrics are written.



42
43
44
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_metrics_destination.rb', line 42

def index
  @index
end

#inputs ⇒ Object

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



45
46
47
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_metrics_destination.rb', line 45

def inputs
  @inputs
end

#source ⇒ Object

The Splunk source field value for metric events.



48
49
50
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_metrics_destination.rb', line 48

def source
  @source
end

#sourcetype ⇒ Object

The Splunk sourcetype to assign to metric events.



51
52
53
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_metrics_destination.rb', line 51

def sourcetype
  @sourcetype
end

#tls ⇒ Object

Configuration for enabling TLS encryption between the pipeline component and external services.



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

def tls
  @tls
end

#token_key ⇒ Object

Name of the environment variable or secret that holds the Splunk HEC token.



57
58
59
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_metrics_destination.rb', line 57

def token_key
  @token_key
end

#type ⇒ Object

The destination type. Always splunk_hec_metrics.



60
61
62
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_metrics_destination.rb', line 60

def type
  @type
end