Class: DatadogAPIClient::V1::LogsArrayProcessorOperationExtractKeyValue
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::LogsArrayProcessorOperationExtractKeyValue
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#key_to_extract ⇒ Object
readonly
Key of the attribute in each array element that holds the name to use for the extracted attribute.
-
#override_on_conflict ⇒ Object
Whether to override the target element if it's already set.
-
#source ⇒ Object
readonly
Attribute path of the array to extract key-value pairs from.
-
#target ⇒ Object
Attribute that receives the extracted key-value pairs.
-
#type ⇒ Object
readonly
Operation type.
-
#value_to_extract ⇒ Object
readonly
Key of the attribute in each array element that holds the value to use for the extracted attribute.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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_extract ⇒ Object
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_conflict ⇒ Object
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 |
#source ⇒ Object
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 |
#target ⇒ Object
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 |
#type ⇒ Object
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_extract ⇒ Object
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 |