Class: DatadogAPIClient::V1::LogsExclusionFilter

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#queryObject

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_rateObject

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