Class: DatadogAPIClient::V1::LogsSchemaRemapper
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::LogsSchemaRemapper
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/logs_schema_remapper.rb
Overview
The schema remapper maps source log fields to their correct fields.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#name ⇒ Object
readonly
Name of the logs schema remapper.
-
#override_on_conflict ⇒ Object
Override or not the target element if already set.
-
#preserve_source ⇒ Object
Remove or preserve the remapped source element.
-
#sources ⇒ Object
readonly
Array of source attributes.
-
#target ⇒ Object
readonly
Target field to map log source field to.
-
#target_format ⇒ Object
If the
target_typeof the remapper isattribute, try to cast the value to a new specific type. -
#type ⇒ Object
readonly
Type of logs schema remapper.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
47 48 49 |
# File 'lib/datadog_api_client/v1/models/logs_schema_remapper.rb', line 47 def additional_properties @additional_properties end |
#name ⇒ Object
Name of the logs schema remapper.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/logs_schema_remapper.rb', line 25 def name @name end |
#override_on_conflict ⇒ Object
Override or not the target element if already set.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/logs_schema_remapper.rb', line 28 def override_on_conflict @override_on_conflict end |
#preserve_source ⇒ Object
Remove or preserve the remapped source element.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/logs_schema_remapper.rb', line 31 def preserve_source @preserve_source end |
#sources ⇒ Object
Array of source attributes.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/logs_schema_remapper.rb', line 34 def sources @sources end |
#target ⇒ Object
Target field to map log source field to.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/logs_schema_remapper.rb', line 37 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.
42 43 44 |
# File 'lib/datadog_api_client/v1/models/logs_schema_remapper.rb', line 42 def target_format @target_format end |
#type ⇒ Object
Type of logs schema remapper.
45 46 47 |
# File 'lib/datadog_api_client/v1/models/logs_schema_remapper.rb', line 45 def type @type end |