Class: DatadogAPIClient::V2::ObservabilityPipelineSplunkHecDestination

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

Overview

The splunk_hec destination forwards logs to Splunk using the HTTP Event Collector (HEC).

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#auto_extract_timestampObject

If true, Splunk tries to extract timestamps from incoming log events. If false, Splunk assigns the time the event was received.



26
27
28
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 26

def auto_extract_timestamp
  @auto_extract_timestamp
end

#encodingObject

Encoding format for log events.



29
30
31
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 29

def encoding
  @encoding
end

#idObject

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



32
33
34
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 32

def id
  @id
end

#indexObject

Optional name of the Splunk index where logs are written.



35
36
37
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 35

def index
  @index
end

#inputsObject

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



38
39
40
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 38

def inputs
  @inputs
end

#sourcetypeObject

The Splunk sourcetype to assign to log events.



41
42
43
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 41

def sourcetype
  @sourcetype
end

#typeObject

The destination type. Always splunk_hec.



44
45
46
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 44

def type
  @type
end