Docs Home → MongoDB Command Line Interface
mongocli ops-manager serverUsage download
On this page
Download the server usage report.
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 | Optional output file name. Uses the log name if the output file's name is not specified. |
--skipRedaction | false | Flag that indicates whether Ops Manager skips redaction of sensitive values. If set to true, 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 | Profile to use from your configuration file. |
Examples
mongocli ops-manager serverUsage download --endDate 2022-12-12 --startDate 2022-01-01