egulu CLI reference / egulu log-query-alerts
egulu log-query-alerts create
POST /v1/projects/{project}/locations/{location}/logQueryAlerts
egulu log-query-alerts create <NAME> [options]
API operation
LogQueryAlerts_create: 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 apply too.