Class: DatadogAPIClient::V1::LogQueryDefinition

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

Overview

The log query.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#computeObject

Define computation for a log query.



25
26
27
# File 'lib/datadog_api_client/v1/models/log_query_definition.rb', line 25

def compute
  @compute
end

#group_byObject

List of tag prefixes to group by in the case of a cluster check.



28
29
30
# File 'lib/datadog_api_client/v1/models/log_query_definition.rb', line 28

def group_by
  @group_by
end

#indexObject

A coma separated-list of index names. Use “*” query all indexes at once. [Multiple Indexes](docs.datadoghq.com/logs/indexes/#multiple-indexes)



31
32
33
# File 'lib/datadog_api_client/v1/models/log_query_definition.rb', line 31

def index
  @index
end

#multi_computeObject

This field is mutually exclusive with ‘compute`.



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

def multi_compute
  @multi_compute
end

#searchObject

The query being made on the logs.



37
38
39
# File 'lib/datadog_api_client/v1/models/log_query_definition.rb', line 37

def search
  @search
end