Class: DatadogAPIClient::V1::LogsLookupProcessor
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::LogsLookupProcessor
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/logs_lookup_processor.rb
Overview
Use the Lookup Processor to define a mapping between a log attribute and a human readable value saved in the processors mapping table. For example, you can use the Lookup Processor to map an internal service ID into a human readable service name. Alternatively, you could also use it to check if the MAC address that just attempted to connect to the production environment belongs to your list of stolen machines.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#default_lookup ⇒ Object
Value to set the target attribute if the source value is not found in the list.
-
#is_enabled ⇒ Object
Whether or not the processor is enabled.
-
#lookup_table ⇒ Object
readonly
Mapping table of values for the source attribute and their associated target attribute values, formatted as ‘[“source_key1,target_value1”, “source_key2,target_value2”]`.
-
#name ⇒ Object
Name of the processor.
-
#source ⇒ Object
readonly
Source attribute used to perform the lookup.
-
#target ⇒ Object
readonly
Name of the attribute that contains the corresponding value in the mapping list or the ‘default_lookup` if not found in the mapping list.
-
#type ⇒ Object
readonly
Type of logs lookup processor.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
52 53 54 |
# File 'lib/datadog_api_client/v1/models/logs_lookup_processor.rb', line 52 def additional_properties @additional_properties end |
#default_lookup ⇒ Object
Value to set the target attribute if the source value is not found in the list.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/logs_lookup_processor.rb', line 30 def default_lookup @default_lookup end |
#is_enabled ⇒ Object
Whether or not the processor is enabled.
33 34 35 |
# File 'lib/datadog_api_client/v1/models/logs_lookup_processor.rb', line 33 def is_enabled @is_enabled end |
#lookup_table ⇒ Object
Mapping table of values for the source attribute and their associated target attribute values, formatted as ‘[“source_key1,target_value1”, “source_key2,target_value2”]`
37 38 39 |
# File 'lib/datadog_api_client/v1/models/logs_lookup_processor.rb', line 37 def lookup_table @lookup_table end |
#name ⇒ Object
Name of the processor.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/logs_lookup_processor.rb', line 40 def name @name end |
#source ⇒ Object
Source attribute used to perform the lookup.
43 44 45 |
# File 'lib/datadog_api_client/v1/models/logs_lookup_processor.rb', line 43 def source @source end |
#target ⇒ Object
Name of the attribute that contains the corresponding value in the mapping list or the ‘default_lookup` if not found in the mapping list.
47 48 49 |
# File 'lib/datadog_api_client/v1/models/logs_lookup_processor.rb', line 47 def target @target end |
#type ⇒ Object
Type of logs lookup processor.
50 51 52 |
# File 'lib/datadog_api_client/v1/models/logs_lookup_processor.rb', line 50 def type @type end |