View and Download MongoDB Logs
On this page
tier keeps an account of its activity in its own log file. Atlas
retains the last 30 days of log messages and system event audit messages for each tier in a cluster. The Performance
Advisor retains at most 7 days of logs for each process in a cluster.
You must have
Project Data Access Read Only privileges
or greater to download logs.
M0 free clusters and
M2/M5 shared clusters do not provide downloadable logs.
For information on reading MongoDB logs, refer to the Log Messages documentation in the MongoDB manual.
Database Access Logs
This feature is not available for
M0 free clusters,
M5 clusters. To learn more about which features are unavailable,
see Atlas M0 (Free Cluster), M2, and M5 Limitations.
You can view authentication attempts that were made against your cluster. Both successful and unsuccessful attempts are logged, including the timestamp of the attempt and which user tried to authenticate.