mongocli cloud-manager logs jobs collect
On this page
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 are json, json-path, go-template, or go-template-file. |
--projectId | string | false | Project ID to use. Overrides the settings in the configuration file or environment variable. |
--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. |