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_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.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/logs_exclusion_filter.rb', line 32 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_rate ⇒ Object
Sample rate to apply to logs going through this exclusion filter, a value of 1.0 excludes all logs matching the query.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/logs_exclusion_filter.rb', line 30 def sample_rate @sample_rate end |