Class: DatadogAPIClient::V1::LogsArrayProcessor

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/logs_array_processor.rb

Overview

A processor for extracting, aggregating, or transforming values from JSON arrays within your logs. Supported operations are:

  • Select value from matching element
  • Compute array length
  • Append a value to an array
  • Extract key-value pairs from an array

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



41
42
43
# File 'lib/datadog_api_client/v1/models/logs_array_processor.rb', line 41

def additional_properties
  @additional_properties
end

#is_enabledObject

Whether or not the processor is enabled.



30
31
32
# File 'lib/datadog_api_client/v1/models/logs_array_processor.rb', line 30

def is_enabled
  @is_enabled
end

#nameObject

Name of the processor.



33
34
35
# File 'lib/datadog_api_client/v1/models/logs_array_processor.rb', line 33

def name
  @name
end

#operationObject

Configuration of the array processor operation to perform.



36
37
38
# File 'lib/datadog_api_client/v1/models/logs_array_processor.rb', line 36

def operation
  @operation
end

#typeObject

Type of logs array processor.



39
40
41
# File 'lib/datadog_api_client/v1/models/logs_array_processor.rb', line 39

def type
  @type
end