diff --git a/content/en/api/v1/logs-indexes/examples.json b/content/en/api/v1/logs-indexes/examples.json index 87853762873..24de4d3186e 100644 --- a/content/en/api/v1/logs-indexes/examples.json +++ b/content/en/api/v1/logs-indexes/examples.json @@ -107,6 +107,7 @@ { "filter": { "query": "*", + "sample_attribute": "@ci.job_id", "sample_rate": 1 }, "is_enabled": false, @@ -127,7 +128,7 @@ } ] }, - "html": "
indexes
\n[object]
Array of Log index configurations.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
is_rate_limited
\nboolean
A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent.\nRate limit is reset every-day at 2pm UTC.
name [required]
\nstring
The name of the index.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.
indexes
\n[object]
Array of Log index configurations.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_attribute
\nstring
Sample attribute to use for the sampling of logs going through this exclusion filter.\nWhen set, only the logs with the specified attribute are sampled.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
is_rate_limited
\nboolean
A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent.\nRate limit is reset every-day at 2pm UTC.
name [required]
\nstring
The name of the index.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
is_rate_limited
\nboolean
A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent.\nRate limit is reset every-day at 2pm UTC.
name [required]
\nstring
The name of the index.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_attribute
\nstring
Sample attribute to use for the sampling of logs going through this exclusion filter.\nWhen set, only the logs with the specified attribute are sampled.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
is_rate_limited
\nboolean
A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent.\nRate limit is reset every-day at 2pm UTC.
name [required]
\nstring
The name of the index.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
is_rate_limited
\nboolean
A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent.\nRate limit is reset every-day at 2pm UTC.
name [required]
\nstring
The name of the index.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_attribute
\nstring
Sample attribute to use for the sampling of logs going through this exclusion filter.\nWhen set, only the logs with the specified attribute are sampled.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
is_rate_limited
\nboolean
A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent.\nRate limit is reset every-day at 2pm UTC.
name [required]
\nstring
The name of the index.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
is_rate_limited
\nboolean
A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent.\nRate limit is reset every-day at 2pm UTC.
name [required]
\nstring
The name of the index.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_attribute
\nstring
Sample attribute to use for the sampling of logs going through this exclusion filter.\nWhen set, only the logs with the specified attribute are sampled.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
is_rate_limited
\nboolean
A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent.\nRate limit is reset every-day at 2pm UTC.
name [required]
\nstring
The name of the index.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
is_rate_limited
\nboolean
A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent.\nRate limit is reset every-day at 2pm UTC.
name [required]
\nstring
The name of the index.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_attribute
\nstring
Sample attribute to use for the sampling of logs going through this exclusion filter.\nWhen set, only the logs with the specified attribute are sampled.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
is_rate_limited
\nboolean
A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent.\nRate limit is reset every-day at 2pm UTC.
name [required]
\nstring
The name of the index.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe available values depend on retention plans specified in your organization's contract/subscriptions.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
disable_daily_limit
\nboolean
If true, sets the daily_limit value to null and the index is not limited on a daily basis (any\nspecified daily_limit value in the request is ignored). If false or omitted, the index's current\ndaily_limit is maintained.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe 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.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe 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.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.
daily_limit
\nint64
The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset
\nobject
Object containing options to override the default daily limit reset time.
reset_time
\nstring
String in HH:00 format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
reset_utc_offset
\nstring
String in (-|+)HH:00 format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
daily_limit_warning_threshold_percentage
\ndouble
A percentage threshold of the daily quota at which a Datadog warning event is generated.
disable_daily_limit
\nboolean
If true, sets the daily_limit value to null and the index is not limited on a daily basis (any\nspecified daily_limit value in the request is ignored). If false or omitted, the index's current\ndaily_limit is maintained.
exclusion_filters
\n[object]
An array of exclusion objects. The logs are tested against the query of each filter,\nfollowing the order of the array. Only the first matching active exclusion matters,\nothers (if any) are ignored.
filter
\nobject
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
query
\nstring
Default query is *, meaning all logs flowing in the index would be excluded.\nScope down exclusion filter to only a subset of logs with a log query.
sample_attribute
\nstring
Sample attribute to use for the sampling of logs going through this exclusion filter.\nWhen set, only the logs with the specified attribute are sampled.
sample_rate [required]
\ndouble
Sample rate to apply to logs going through this exclusion filter,\na value of 1.0 excludes all logs matching the query.
is_enabled
\nboolean
Whether or not the exclusion filter is active.
name [required]
\nstring
Name of the index exclusion filter.
filter [required]
\nobject
Filter for logs.
query
\nstring
The filter query.
num_flex_logs_retention_days
\nint64
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\nIf Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through num_retention_days,\nand then stored in Flex Tier until the number of days specified in num_flex_logs_retention_days is reached.\nThe 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.
num_retention_days
\nint64
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\nThe 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.
tags
\n[string]
A list of tags associated with the index. Tags must be in key:value format.