Class: DatadogAPIClient::V1::LogsAttributeRemapper
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::LogsAttributeRemapper
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/logs_attribute_remapper.rb
Overview
The remapper processor remaps any source attribute(s) or tag to another target attribute or tag.
Constraints on the tag/attribute name are explained in the Tag Best Practice documentation.
Some additional constraints are applied as :
or ,
are not allowed in the target tag/attribute name.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#is_enabled ⇒ Object
Whether or not the processor is enabled.
-
#name ⇒ Object
Name of the processor.
-
#override_on_conflict ⇒ Object
Override or not the target element if already set,.
-
#preserve_source ⇒ Object
Remove or preserve the remapped source element.
-
#source_type ⇒ Object
Defines if the sources are from log
attribute
ortag
. -
#sources ⇒ Object
readonly
Array of source attributes.
-
#target ⇒ Object
readonly
Final attribute or tag name to remap the sources to.
-
#target_format ⇒ Object
If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. -
#target_type ⇒ Object
Defines if the final attribute or tag name is from log
attribute
ortag
. -
#type ⇒ Object
readonly
Type of logs attribute remapper.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
58 59 60 |
# File 'lib/datadog_api_client/v1/models/logs_attribute_remapper.rb', line 58 def additional_properties @additional_properties end |
#is_enabled ⇒ Object
Whether or not the processor is enabled.
27 28 29 |
# File 'lib/datadog_api_client/v1/models/logs_attribute_remapper.rb', line 27 def is_enabled @is_enabled end |
#name ⇒ Object
Name of the processor.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/logs_attribute_remapper.rb', line 30 def name @name end |
#override_on_conflict ⇒ Object
Override or not the target element if already set,
33 34 35 |
# File 'lib/datadog_api_client/v1/models/logs_attribute_remapper.rb', line 33 def override_on_conflict @override_on_conflict end |
#preserve_source ⇒ Object
Remove or preserve the remapped source element.
36 37 38 |
# File 'lib/datadog_api_client/v1/models/logs_attribute_remapper.rb', line 36 def preserve_source @preserve_source end |
#source_type ⇒ Object
Defines if the sources are from log attribute
or tag
.
39 40 41 |
# File 'lib/datadog_api_client/v1/models/logs_attribute_remapper.rb', line 39 def source_type @source_type end |
#sources ⇒ Object
Array of source attributes.
42 43 44 |
# File 'lib/datadog_api_client/v1/models/logs_attribute_remapper.rb', line 42 def sources @sources end |
#target ⇒ Object
Final attribute or tag name to remap the sources to.
45 46 47 |
# File 'lib/datadog_api_client/v1/models/logs_attribute_remapper.rb', line 45 def target @target end |
#target_format ⇒ Object
If the target_type
of the remapper is attribute
, try to cast the value to a new specific type.
If the cast is not possible, the original type is kept. string
, integer
, or double
are the possible types.
If the target_type
is tag
, this parameter may not be specified.
50 51 52 |
# File 'lib/datadog_api_client/v1/models/logs_attribute_remapper.rb', line 50 def target_format @target_format end |
#target_type ⇒ Object
Defines if the final attribute or tag name is from log attribute
or tag
.
53 54 55 |
# File 'lib/datadog_api_client/v1/models/logs_attribute_remapper.rb', line 53 def target_type @target_type end |
#type ⇒ Object
Type of logs attribute remapper.
56 57 58 |
# File 'lib/datadog_api_client/v1/models/logs_attribute_remapper.rb', line 56 def type @type end |