Navigation

mongocli cloud-manager logs jobs collect

On this page

  • Syntax
  • Options
  • Inherited Options

Start a job to collect logs for your project.

mongocli cloud-manager logs jobs collect <resourceType> <resourceName> [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.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Auto generated by cobra2snooty on 13-Jul-2021

Give Feedback

On this page

  • Syntax
  • Options
  • Inherited Options