Docs Menu
Docs Home
/ /
MongoDB CLI
/ / /

mongocli ops-manager serverUsage download

On this page

  • Syntax
  • Options
  • Inherited Options
  • Examples

Download the server usage report.

Command Syntax
mongocli ops-manager serverUsage download [options]
Name
Type
Required
Description
--endDate
string
true
Timestamp, in ISO 8601 date format, when the list of host assignments ends.
--force
false
Flag that indicates whether to overwrite the destination file.
--format
string
false
Compression format of the resulting report. Valid values are ZIP, TAR, or .GZ. This value defaults to "tar.gz".
-h, --help
false
help for download
--out
string
false
Output file name. This value defaults to the log name.
--skipRedaction
false
Flag that indicates whether to skip the redaction of sensitive values. If you set this flag, Ops Manager logs the original values for hostnames, IP addresses, and namespaces in API responses for this job.
--startDate
string
true
Timestamp, in ISO 8601 date format, when the list of host assignments starts.
Name
Type
Required
Description
-P, --profile
string
false
Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file.
mongocli ops-manager serverUsage download --endDate 2022-12-12 --startDate 2022-01-01

Back

capture