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

# egulu log-query-alerts update

PATCH /v1/projects/{project}/locations/{location}/logQueryAlerts/{logQueryAlert}

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

## API operation

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

## Arguments

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

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--interval-minutes` | value | no | intervalMinutes |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--query` | value | no | query |
| `--window-minutes` | value | no | windowMinutes |

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