[SDK reference](../../index.md) / [Models](../index.md) / [Observability](index.md)

# LogQueryAlertMergePatchUpdate

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Observability`  

A scheduled query alert: every `intervalMinutes` the platform runs `query` over the last `windowMinutes`, takes the value (the first row's`valueColumn`, or the first row's first numeric column; with no rows, no data) and compares it with `threshold`. A change to firing tells the`channels`; a return to OK tells them again.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Channels` | `Models.Observability.LogQueryAlertMergePatchUpdate.LogQueryAlertMergePatchUpdate_channels?` | `channels` | Notification channels to tell (their IDs; at most 10). |
| `Comparison` | `Models.Observability.LogQueryAlertComparison?` | `comparison` | How a query alert compares its value with the threshold. |
| `DisplayName` | `Models.Observability.LogQueryAlertMergePatchUpdate.LogQueryAlertMergePatchUpdate_displayName?` | `displayName` | Up to 63 characters. |
| `Enabled` | `Models.Observability.LogQueryAlertMergePatchUpdate.LogQueryAlertMergePatchUpdate_enabled?` | `enabled` | False pauses the schedule. |
| `IntervalMinutes` | `int?` | `intervalMinutes` | How often it is evaluated: 1, 5, 15 or 60 minutes. |
| `Labels` | `UntypedNode?` | `labels` | At most 64. |
| `Query` | `string?` | `query` | The query; it must parse. Usually it ends in `summarize`, so the first row holds the value. |
| `Severity` | `Models.Observability.LogQueryAlertSeverity?` | `severity` | The severity property |
| `Threshold` | `double?` | `threshold` | The threshold property |
| `ValueColumn` | `Models.Observability.LogQueryAlertMergePatchUpdate.LogQueryAlertMergePatchUpdate_valueColumn?` | `valueColumn` | The column the value is read from; the first numeric column of the first row when omitted. |
| `WindowMinutes` | `int?` | `windowMinutes` | How far back each evaluation looks: 1 to 1440 minutes. |
