Class: DatadogAPIClient::V1::LogsSchemaRemapper

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#nameObject

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_conflictObject

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_sourceObject

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

#sourcesObject

Array of source attributes.



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

def sources
  @sources
end

#targetObject

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_formatObject

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

#typeObject

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