Class: DatadogAPIClient::V2::SecurityMonitoringStandardRuleQuery
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SecurityMonitoringStandardRuleQuery
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb
Overview
Query for matching rule.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#aggregation ⇒ Object
The aggregation type.
-
#distinct_fields ⇒ Object
Field for which the cardinality is measured.
-
#group_by_fields ⇒ Object
Fields to group by.
-
#has_optional_group_by_fields ⇒ Object
When false, events without a group-by value are ignored by the rule.
-
#metric ⇒ Object
(Deprecated) The target field to aggregate over when using the sum or max aggregations.
-
#metrics ⇒ Object
Group of target fields to aggregate over when using the sum, max, geo data, or new value aggregations.
-
#name ⇒ Object
Name of the query.
-
#query ⇒ Object
Query to run on logs.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 49 def additional_properties @additional_properties end |
#aggregation ⇒ Object
The aggregation type.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 25 def aggregation @aggregation end |
#distinct_fields ⇒ Object
Field for which the cardinality is measured. Sent as an array.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 28 def distinct_fields @distinct_fields end |
#group_by_fields ⇒ Object
Fields to group by.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 31 def group_by_fields @group_by_fields end |
#has_optional_group_by_fields ⇒ Object
When false, events without a group-by value are ignored by the rule. When true, events with missing group-by fields are processed with N/A
, replacing the missing values.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 34 def has_optional_group_by_fields @has_optional_group_by_fields end |
#metric ⇒ Object
(Deprecated) The target field to aggregate over when using the sum or max
aggregations. metrics
field should be used instead.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 38 def metric @metric end |
#metrics ⇒ Object
Group of target fields to aggregate over when using the sum, max, geo data, or new value aggregations. The sum, max, and geo data aggregations only accept one value in this list, whereas the new value aggregation accepts up to five values.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 41 def metrics @metrics end |
#name ⇒ Object
Name of the query.
44 45 46 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 44 def name @name end |
#query ⇒ Object
Query to run on logs.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 47 def query @query end |