Class: DatadogAPIClient::V1::LogsIndex

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

Overview

Object describing a Datadog Log index.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



58
59
60
# File 'lib/datadog_api_client/v1/models/logs_index.rb', line 58

def additional_properties
  @additional_properties
end

#daily_limitObject

The number of log events you can send in this index per day before you are rate-limited.



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

def daily_limit
  @daily_limit
end

#daily_limit_resetObject

Object containing options to override the default daily limit reset time.



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

def daily_limit_reset
  @daily_limit_reset
end

#daily_limit_warning_threshold_percentageObject

A percentage threshold of the daily quota at which a Datadog warning event is generated.



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

def daily_limit_warning_threshold_percentage
  @daily_limit_warning_threshold_percentage
end

#exclusion_filtersObject

An array of exclusion objects. The logs are tested against the query of each filter, following the order of the array. Only the first matching active exclusion matters, others (if any) are ignored.



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

def exclusion_filters
  @exclusion_filters
end

#filterObject

Filter for logs.



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

def filter
  @filter
end

#is_rate_limitedObject

A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent. Rate limit is reset every-day at 2pm UTC.



43
44
45
# File 'lib/datadog_api_client/v1/models/logs_index.rb', line 43

def is_rate_limited
  @is_rate_limited
end

#nameObject

The name of the index.



46
47
48
# File 'lib/datadog_api_client/v1/models/logs_index.rb', line 46

def name
  @name
end

#num_flex_logs_retention_daysObject

The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. If Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through ‘num_retention_days`, and then stored in Flex Tier until the number of days specified in `num_flex_logs_retention_days` is reached. The available values depend on retention plans specified in your organization’s contract/subscriptions.



52
53
54
# File 'lib/datadog_api_client/v1/models/logs_index.rb', line 52

def num_flex_logs_retention_days
  @num_flex_logs_retention_days
end

#num_retention_daysObject

The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. The available values depend on retention plans specified in your organization’s contract/subscriptions.



56
57
58
# File 'lib/datadog_api_client/v1/models/logs_index.rb', line 56

def num_retention_days
  @num_retention_days
end