Class: DatadogAPIClient::V2::LogsGroupBy

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

Overview

A group by rule

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



44
45
46
# File 'lib/datadog_api_client/v2/models/logs_group_by.rb', line 44

def additional_properties
  @additional_properties
end

#facetObject

The name of the facet to use (required)



25
26
27
# File 'lib/datadog_api_client/v2/models/logs_group_by.rb', line 25

def facet
  @facet
end

#histogramObject

Used to perform a histogram computation (only for measure facets). Note: at most 100 buckets are allowed, the number of buckets is (max - min)/interval.



29
30
31
# File 'lib/datadog_api_client/v2/models/logs_group_by.rb', line 29

def histogram
  @histogram
end

#limitObject

The maximum buckets to return for this group by. Note: at most 10000 buckets are allowed. If grouping by multiple facets, the product of limits must not exceed 10000.



33
34
35
# File 'lib/datadog_api_client/v2/models/logs_group_by.rb', line 33

def limit
  @limit
end

#missingObject

The value to use for logs that don’t have the facet used to group by



36
37
38
# File 'lib/datadog_api_client/v2/models/logs_group_by.rb', line 36

def missing
  @missing
end

#sortObject

A sort rule



39
40
41
# File 'lib/datadog_api_client/v2/models/logs_group_by.rb', line 39

def sort
  @sort
end

#totalObject

A resulting object to put the given computes in over all the matching records.



42
43
44
# File 'lib/datadog_api_client/v2/models/logs_group_by.rb', line 42

def total
  @total
end