Class: DatadogAPIClient::V2::LogsQueryFilter

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

Overview

The search and filter query settings

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/v2/models/logs_query_filter.rb', line 39

def additional_properties
  @additional_properties
end

#fromObject

The minimum time for the requested logs, supports date math and regular timestamps (milliseconds).



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

def from
  @from
end

#indexesObject

For customers with multiple indexes, the indexes to search. Defaults to [‘*’] which means all indexes.



28
29
30
# File 'lib/datadog_api_client/v2/models/logs_query_filter.rb', line 28

def indexes
  @indexes
end

#queryObject

The search query - following the log search syntax.



31
32
33
# File 'lib/datadog_api_client/v2/models/logs_query_filter.rb', line 31

def query
  @query
end

#storage_tierObject

Specifies storage type as indexes, online-archives or flex



34
35
36
# File 'lib/datadog_api_client/v2/models/logs_query_filter.rb', line 34

def storage_tier
  @storage_tier
end

#toObject

The maximum time for the requested logs, supports date math and regular timestamps (milliseconds).



37
38
39
# File 'lib/datadog_api_client/v2/models/logs_query_filter.rb', line 37

def to
  @to
end