| Name | Type | Description | Notes |
|---|---|---|---|
| agent_rule | SecurityMonitoringRuntimeAgentRule | [optional] | |
| aggregation | SecurityMonitoringRuleQueryAggregation | [optional] | |
| distinct_fields | Array<String> | Field for which the cardinality is measured. Sent as an array. | [optional] |
| group_by_fields | Array<String> | Fields to group by. | [optional] |
| metric | String | The target field to aggregate over when using the sum or max aggregations. | [optional] |
| name | String | Name of the query. | [optional] |
| query | String | Query to run on logs. | [optional] |
require 'datadog_api_client/v2'
instance = DatadogAPIClient::V2::SecurityMonitoringRuleQuery.new(
agent_rule: null,
aggregation: null,
distinct_fields: null,
group_by_fields: null,
metric: null,
name: null,
query: null
)