Class: DatadogAPIClient::V1::LogsArrayProcessorOperationExtractKeyValue

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

Overview

Operation that extracts key-value pairs from a source array and stores the result in the target attribute.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



42
43
44
# File 'lib/datadog_api_client/v1/models/logs_array_processor_operation_extract_key_value.rb', line 42

def additional_properties
  @additional_properties
end

#key_to_extractObject

Key of the attribute in each array element that holds the name to use for the extracted attribute.



25
26
27
# File 'lib/datadog_api_client/v1/models/logs_array_processor_operation_extract_key_value.rb', line 25

def key_to_extract
  @key_to_extract
end

#override_on_conflictObject

Whether to override the target element if it's already set.



28
29
30
# File 'lib/datadog_api_client/v1/models/logs_array_processor_operation_extract_key_value.rb', line 28

def override_on_conflict
  @override_on_conflict
end

#sourceObject

Attribute path of the array to extract key-value pairs from.



31
32
33
# File 'lib/datadog_api_client/v1/models/logs_array_processor_operation_extract_key_value.rb', line 31

def source
  @source
end

#targetObject

Attribute that receives the extracted key-value pairs. If not specified, the extracted attributes are added at the root level of the log.



34
35
36
# File 'lib/datadog_api_client/v1/models/logs_array_processor_operation_extract_key_value.rb', line 34

def target
  @target
end

#typeObject

Operation type.



37
38
39
# File 'lib/datadog_api_client/v1/models/logs_array_processor_operation_extract_key_value.rb', line 37

def type
  @type
end

#value_to_extractObject

Key of the attribute in each array element that holds the value to use for the extracted attribute.



40
41
42
# File 'lib/datadog_api_client/v1/models/logs_array_processor_operation_extract_key_value.rb', line 40

def value_to_extract
  @value_to_extract
end