Class: DatadogAPIClient::V1::LogsExclusionFilter
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::LogsExclusionFilter
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/logs_exclusion_filter.rb
Overview
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#query ⇒ Object
Default query is
*, meaning all logs flowing in the index would be excluded. -
#sample_attribute ⇒ Object
Sample attribute to use for the sampling of logs going through this exclusion filter.
-
#sample_rate ⇒ Object
readonly
Sample rate to apply to logs going through this exclusion filter, a value of 1.0 excludes all logs matching the query.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
36 37 38 |
# File 'lib/datadog_api_client/v1/models/logs_exclusion_filter.rb', line 36 def additional_properties @additional_properties end |
#query ⇒ Object
Default query is *, meaning all logs flowing in the index would be excluded.
Scope down exclusion filter to only a subset of logs with a log query.
26 27 28 |
# File 'lib/datadog_api_client/v1/models/logs_exclusion_filter.rb', line 26 def query @query end |
#sample_attribute ⇒ Object
Sample attribute to use for the sampling of logs going through this exclusion filter. When set, only the logs with the specified attribute are sampled.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/logs_exclusion_filter.rb', line 30 def sample_attribute @sample_attribute end |
#sample_rate ⇒ Object
Sample rate to apply to logs going through this exclusion filter, a value of 1.0 excludes all logs matching the query.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/logs_exclusion_filter.rb', line 34 def sample_rate @sample_rate end |