Docs Home → MongoDB Command Line Interface
mongocli atlas accessLogs
On this page
mongocli atlas
commands are now deprecated because there's a new, dedicated CLI available for Atlas users. Migrate to the Atlas CLI to enjoy the same capabilities and the latest features. You can use mongocli atlas
commands until April 30, 2023.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.