mongocli atlas accessLogs
On this page
mongocli atlas
commands are now deprecated and will be removed in a future release. To enjoy the same capabilities and the latest features, use the new, dedicated CLI for Atlas users. To learn more, see Migrate to the Atlas CLI.Return the access logs for a cluster.
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for accessLogs |
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. |
Related Commands
mongocli atlas accessLogs list - Retrieve the access logs of a cluster identified by the cluster's name or hostname.