Class: DatadogAPIClient::V2::ObservabilityPipelineParseXMLProcessor

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

Overview

The parse_xml processor parses XML from a specified field and extracts it into the event.

Supported pipeline types: logs

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



65
66
67
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_xml_processor.rb', line 65

def additional_properties
  @additional_properties
end

#always_use_text_key ⇒ Object

Whether to always use a text key for element content.



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

def always_use_text_key
  @always_use_text_key
end

#attr_prefix ⇒ Object

The prefix to use for XML attributes in the parsed output.



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

def attr_prefix
  @attr_prefix
end

#display_name ⇒ Object

The display name for a component.



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

def display_name
  @display_name
end

#enabled ⇒ Object

Indicates whether the processor is enabled.



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

def enabled
  @enabled
end

#field ⇒ Object

The name of the log field that contains an XML string.



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

def field
  @field
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).



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

def id
  @id
end

#include ⇒ Object

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



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

def include
  @include
end

#include_attr ⇒ Object

Whether to include XML attributes in the parsed output.



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

def include_attr
  @include_attr
end

#parse_bool ⇒ Object

Whether to parse boolean values from strings.



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

def parse_bool
  @parse_bool
end

#parse_null ⇒ Object

Whether to parse null values.



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

def parse_null
  @parse_null
end

#parse_number ⇒ Object

Whether to parse numeric values from strings.



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

def parse_number
  @parse_number
end

#text_key ⇒ Object

The key name to use for text content within XML elements. Must be at least 1 character if specified.



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

def text_key
  @text_key
end

#type ⇒ Object

The processor type. The value should always be parse_xml.



63
64
65
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_xml_processor.rb', line 63

def type
  @type
end