mongocli ops-manager events projects list
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Return all events for a project.
Your API Key must have the Project Read Only role to successfully call this resource.
Syntax
mongocli ops-manager events projects list [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for list | |
--limit | int | false | Number of items per page. |
--maxDate | string | false | Returns events whose created date is less than or equal to it. |
--minDate | string | false | Returns events whose created date is greater than or equal to it. |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--page | int | false | Page number. |
--projectId | string | false | Project ID to use. Overrides configuration file or environment variable settings. |
--type | strings | false | Type of event that will trigger an alert. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |