# getDashboardAlert

> Function getDashboardAlert in pulumi-logtail.

<!-- Generated from the pulumi-logtail SDK. -->

Function getDashboardAlert in pulumi-logtail.

Invoke token: `logtail:index/getDashboardAlert:getDashboardAlert`.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as logtail from "pulumi-logtail"

const result = await logtail.getDashboardAlert({
  chartId: "<chartId>",
  dashboardId: "<dashboardId>",
  name: "<name>",
})
```

`getDashboardAlertOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property      | Type     | Required | Description |
| ------------- | -------- | -------- | ----------- |
| `chartId`     | `string` | yes      |             |
| `dashboardId` | `string` | yes      |             |
| `name`        | `string` | yes      |             |

## Result

| Property                   | Type                                     | Always present | Description |
| -------------------------- | ---------------------------------------- | -------------- | ----------- |
| `additionalConditions`     | `GetDashboardAlertAdditionalCondition[]` | yes            |             |
| `aggregationInterval`      | `number`                                 | yes            |             |
| `alertType`                | `string`                                 | yes            |             |
| `anomalySensitivity`       | `number`                                 | yes            |             |
| `anomalyTrainingRangeDays` | `number`                                 | yes            |             |
| `anomalyTrigger`           | `string`                                 | yes            |             |
| `call`                     | `boolean`                                | yes            |             |
| `chartId`                  | `string`                                 | yes            |             |
| `checkPeriod`              | `number`                                 | yes            |             |
| `confirmationPeriod`       | `number`                                 | yes            |             |
| `createdAt`                | `string`                                 | yes            |             |
| `criticalAlert`            | `boolean`                                | yes            |             |
| `dashboardId`              | `string`                                 | yes            |             |
| `email`                    | `boolean`                                | yes            |             |
| `escalationTargets`        | `GetDashboardAlertEscalationTarget[]`    | yes            |             |
| `id`                       | `string`                                 | yes            |             |
| `incidentCause`            | `string`                                 | yes            |             |
| `incidentPerSeries`        | `boolean`                                | yes            |             |
| `metadata`                 | `{ [key: string]: string }`              | yes            |             |
| `name`                     | `string`                                 | yes            |             |
| `onMissingData`            | `string`                                 | yes            |             |
| `operator`                 | `string`                                 | yes            |             |
| `paused`                   | `boolean`                                | yes            |             |
| `pausedReason`             | `string`                                 | yes            |             |
| `push`                     | `boolean`                                | yes            |             |
| `queryPeriod`              | `number`                                 | yes            |             |
| `recoveryPeriod`           | `number`                                 | yes            |             |
| `seriesNames`              | `string[]`                               | yes            |             |
| `seriesNamesExcepts`       | `string[]`                               | yes            |             |
| `sms`                      | `boolean`                                | yes            |             |
| `sourceMode`               | `string`                                 | yes            |             |
| `sourcePlatforms`          | `string[]`                               | yes            |             |
| `sourceVariable`           | `string`                                 | yes            |             |
| `stringValue`              | `string`                                 | yes            |             |
| `updatedAt`                | `string`                                 | yes            |             |
| `value`                    | `number`                                 | yes            |             |
| `variableValues`           | `GetDashboardAlertVariableValue[]`       | yes            |             |

## `GetDashboardAlertAdditionalCondition`

Output object `GetDashboardAlertAdditionalCondition`. Fields below belong to this object.

| Property             | Type       | Always present | Description |
| -------------------- | ---------- | -------------- | ----------- |
| `alertType`          | `string`   | no             |             |
| `operator`           | `string`   | no             |             |
| `seriesNames`        | `string[]` | no             |             |
| `seriesNamesExcepts` | `string[]` | no             |             |
| `stringValue`        | `string`   | no             |             |
| `value`              | `number`   | no             |             |

## `GetDashboardAlertEscalationTarget`

Output object `GetDashboardAlertEscalationTarget`. Fields below belong to this object.

| Property     | Type     | Always present | Description |
| ------------ | -------- | -------------- | ----------- |
| `policyId`   | `number` | no             |             |
| `policyName` | `string` | no             |             |
| `teamId`     | `number` | no             |             |
| `teamName`   | `string` | no             |             |

## `GetDashboardAlertVariableValue`

Output object `GetDashboardAlertVariableValue`. Fields below belong to this object.

| Property        | Type       | Always present | Description |
| --------------- | ---------- | -------------- | ----------- |
| `name`          | `string`   | no             |             |
| `selectedLabel` | `string`   | no             |             |
| `values`        | `string[]` | no             |             |
