Assistance Needed with Extracting Activity Logs

Hello MongoDB community

I am looking to extract activity logs for a specific period from our MongoDB deployment. Specifically, I need to obtain audit logs that include:

  • Which user created Clusters
    *Which user deleted cluster
  • Which user upgraded etc,

Could you please guide me on how to use the Mongo shell for authentication and the necessary commands or API calls to retrieve these logs? Additionally, I would like to know if there’s a specific format or filtering option available to facilitate this process.

And which monitoring services your have succesefully used for upload this data in

Greetings Irina,

If you’re using Atlas, the simplest option is to use the project-level activity feed (not to be confused with the org-level activity feed) to filter by dates and find this information this way.

Alternatively, you can use the Atlas Admin API.

Warm regards,
Eli