Class: DatadogAPIClient::V2::ObservabilityPipelineSplunkHecDestination
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ObservabilityPipelineSplunkHecDestination
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#auto_extract_timestamp ⇒ Object
If
true
, Splunk tries to extract timestamps from incoming log events. -
#encoding ⇒ Object
Encoding format for log events.
-
#id ⇒ Object
readonly
The unique identifier for this component.
-
#index ⇒ Object
Optional name of the Splunk index where logs are written.
-
#inputs ⇒ Object
readonly
A list of component IDs whose output is used as the
input
for this component. -
#sourcetype ⇒ Object
The Splunk sourcetype to assign to log events.
-
#type ⇒ Object
readonly
The destination type.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 47 def additional_properties @additional_properties end |
#auto_extract_timestamp ⇒ Object
If true
, Splunk tries to extract timestamps from incoming log events.
If false
, Splunk assigns the time the event was received.
27 28 29 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 27 def @auto_extract_timestamp end |
#encoding ⇒ Object
Encoding format for log events.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 30 def encoding @encoding end |
#id ⇒ Object
The unique identifier for this component. Used to reference this component in other parts of the pipeline (e.g., as input to downstream components).
33 34 35 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 33 def id @id end |
#index ⇒ Object
Optional name of the Splunk index where logs are written.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 36 def index @index end |
#inputs ⇒ Object
A list of component IDs whose output is used as the input
for this component.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 39 def inputs @inputs end |
#sourcetype ⇒ Object
The Splunk sourcetype to assign to log events.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 42 def sourcetype @sourcetype end |
#type ⇒ Object
The destination type. Always splunk_hec
.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb', line 45 def type @type end |