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 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.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
←  mongocli cloud-manager logs jobsmongocli cloud-manager logs jobs delete →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.