Class: DatadogAPIClient::V2::ObservabilityPipelineAddHostnameProcessor

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

Overview

The add_hostname processor adds the hostname to log events.

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.



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

def additional_properties
  @additional_properties
end

#display_nameObject

The display name for a component.



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

def display_name
  @display_name
end

#enabledObject

Indicates whether the processor is enabled.



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

def enabled
  @enabled
end

#idObject

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).



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

def id
  @id
end

#includeObject

A Datadog search query used to determine which logs this processor targets.



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

def include
  @include
end

#typeObject

The processor type. The value should always be add_hostname.



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

def type
  @type
end