mongocli cloud-manager logs jobs collect
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.
Start a job to collect logs for your project.
Syntax
mongocli cloud-manager logs jobs collect <resourceType> <resourceName> [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for collect | |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--projectId | string | false | Project ID to use. Overrides configuration file or environment variable settings. |
--redacted | false | If set to true, emails, hostnames, IP addresses, and namespaces in API responses involving this job are replaced with random string values. | |
--sizeRequestedPerFileBytes | int | true | Size for each log file in bytes. |
--type | strings | true | Array of strings specifying the types of logs to collect. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |
Auto generated by cobra2snooty on 13-Jul-2021