[egulu CLI reference](../index.md) / [egulu log-query-alerts](index.md)

# egulu log-query-alerts create

POST /v1/projects/{project}/locations/{location}/logQueryAlerts

```sh
egulu log-query-alerts create <NAME> [options]
```

## API operation

[LogQueryAlerts_create](../../api/loganalytics/LogQueryAlerts_create.md): `POST /v1/projects/{project}/locations/{location}/logQueryAlerts` (loganalytics module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the logQueryAlertId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--channels` | value | no | channels: comma-separated, or @file with one item a line |
| `--display-name` | value | no | displayName |
| `--interval-minutes` | value | no | intervalMinutes |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--query` | value | no | query |
| `--validate-only` | value | no | validateOnly |
| `--value-column` | value | no | valueColumn |
| `--window-minutes` | value | no | windowMinutes |

The [global options](../index.md) apply too.
