Class: DatadogAPIClient::V1::LogsIndexUpdateRequest
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::LogsIndexUpdateRequest
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/logs_index_update_request.rb
Overview
Object for updating a Datadog Log index.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#daily_limit ⇒ Object
The number of log events you can send in this index per day before you are rate-limited.
-
#daily_limit_reset ⇒ Object
Object containing options to override the default daily limit reset time.
-
#daily_limit_warning_threshold_percentage ⇒ Object
readonly
A percentage threshold of the daily quota at which a Datadog warning event is generated.
-
#disable_daily_limit ⇒ Object
If true, sets the ‘daily_limit` value to null and the index is not limited on a daily basis (any specified `daily_limit` value in the request is ignored).
-
#exclusion_filters ⇒ Object
An array of exclusion objects.
-
#filter ⇒ Object
readonly
Filter for logs.
-
#num_flex_logs_retention_days ⇒ Object
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.
-
#num_retention_days ⇒ Object
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
60 61 62 |
# File 'lib/datadog_api_client/v1/models/logs_index_update_request.rb', line 60 def additional_properties @additional_properties end |
#daily_limit ⇒ Object
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_update_request.rb', line 25 def daily_limit @daily_limit end |
#daily_limit_reset ⇒ Object
Object containing options to override the default daily limit reset time.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/logs_index_update_request.rb', line 28 def daily_limit_reset @daily_limit_reset end |
#daily_limit_warning_threshold_percentage ⇒ Object
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_update_request.rb', line 31 def daily_limit_warning_threshold_percentage @daily_limit_warning_threshold_percentage end |
#disable_daily_limit ⇒ Object
If true, sets the ‘daily_limit` value to null and the index is not limited on a daily basis (any specified `daily_limit` value in the request is ignored). If false or omitted, the index’s current ‘daily_limit` is maintained.
36 37 38 |
# File 'lib/datadog_api_client/v1/models/logs_index_update_request.rb', line 36 def disable_daily_limit @disable_daily_limit end |
#exclusion_filters ⇒ Object
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.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/logs_index_update_request.rb', line 41 def exclusion_filters @exclusion_filters end |
#filter ⇒ Object
Filter for logs.
44 45 46 |
# File 'lib/datadog_api_client/v1/models/logs_index_update_request.rb', line 44 def filter @filter end |
#num_flex_logs_retention_days ⇒ Object
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.
Note: Changing this value affects all logs already in this index. It may also affect billing.
52 53 54 |
# File 'lib/datadog_api_client/v1/models/logs_index_update_request.rb', line 52 def num_flex_logs_retention_days @num_flex_logs_retention_days end |
#num_retention_days ⇒ Object
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.
Note: Changing this value affects all logs already in this index. It may also affect billing.
58 59 60 |
# File 'lib/datadog_api_client/v1/models/logs_index_update_request.rb', line 58 def num_retention_days @num_retention_days end |