mongocli om log job collect

Start a job to collect logs for your project

Options

NameDescription
--output, -o <output>Output format. Valid values are json, json-path, go-template, or go-template-file
--projectId <projectId>Project ID to use. Overrides the settings in the configuration file or environment variable
--redactedIf set to true, emails, hostnames, IP addresses, and namespaces in API responses involving this job are replaced with random string values
--sizeRequestedPerFileBytes <sizeRequestedPerFileBytes>
  • Required ✳
--type <type>
  • Required ✳