Docs Menu

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.
Give Feedback
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.