Sha256: 639b1a19610565759286fe882266feb6932972a654dcc09b908892a4583862df

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

# DatadogAPIClient::V2::SecurityMonitoringRuleQueryCreate

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **agent_rule** | [**SecurityMonitoringRuntimeAgentRule**](SecurityMonitoringRuntimeAgentRule.md) |  | [optional] |
| **aggregation** | [**SecurityMonitoringRuleQueryAggregation**](SecurityMonitoringRuleQueryAggregation.md) |  | [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. |  |

## Example

```ruby
require 'datadog_api_client/v2'

instance = DatadogAPIClient::V2::SecurityMonitoringRuleQueryCreate.new(
  agent_rule: null,
  aggregation: null,
  distinct_fields: null,
  group_by_fields: null,
  metric: null,
  name: null,
  query: a < 3
)
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datadog_api_client-1.1.0 docs/v2/SecurityMonitoringRuleQueryCreate.md
datadog_api_client-1.0.0 docs/v2/SecurityMonitoringRuleQueryCreate.md
datadog_api_client-1.0.0.beta.3 docs/v2/SecurityMonitoringRuleQueryCreate.md