[egulu CLI reference](../index.md) / [egulu stream-consumer-groups](index.md)

# egulu stream-consumer-groups lag-alert-rule

POST /v1/projects/{project}/locations/{location}/streamClusters/{cluster}/consumerGroups/{group}:lagAlertRule

```sh
egulu stream-consumer-groups lag-alert-rule [options]
```

## API operation

[StreamConsumerGroups_lagAlertRule](../../api/streams/StreamConsumerGroups_lagAlertRule.md): `POST /v1/projects/{project}/locations/{location}/streamClusters/{cluster}/consumerGroups/{group}:lagAlertRule` (streams module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--cluster` | value | yes | cluster |
| `--for-minutes` | value | no | forMinutes |
| `--group` | value | yes | group |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--threshold` | value | no | threshold |

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