Docs Home → MongoDB Command Line Interface
mongocli ops-manager serverUsage download
On this page
Download the server usage report.
Syntax
Command Syntax
mongocli ops-manager serverUsage download [options]
Options
Name | Type | Required | Description |
---|---|---|---|
--endDate | string | true | Timestamp, in ISO 8601 date format, when the list of host assignments ends. |
--force | false | Overwrites 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. Uses the log name if the output file's name is not specified. |
--skipRedaction | false | Skips 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. |
Inherited Options
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. |
Examples
mongocli ops-manager serverUsage download --endDate 2022-12-12 --startDate 2022-01-01