Summary
In this chapter, we interrogated the differences between logging and auditing.
Following that, we discussed how to set up auditing, both on-premises using MongoDB Enterprise Edition and in the MongoDB Atlas cloud environment.
Finally, we brought all of the preceding elements together in a case study that uses auditing in the MongoDB Atlas cloud to store, download, and process the audit logs.
We learned how to set up and configure auditing, where it’s useful, and how we can store, download, and process the audit logs.
In the next chapter, we will dive deeper into CRUD using three of the most popular languages for web development: Ruby, Python, and PHP.