티스토리 뷰

Database/mongoDB

[MongoDB] Audit 로그 기능

데브포유 2018. 3. 14. 00:20
반응형
storage:
   dbPath: data/db
auditLog:
   destination: file
   format: BSON
   path: data/db/auditLog.bson
   filter: '{ atype: { $in: [ "createCollection", "dropCollection" ] } }'

몽고디비 3.6.x 버전에서 Audit (감사) 기능을 사용할 수 있습니다.

하지만 아쉽게도 Enterprise Server에만 사용할 수 있고, Community Server에서는 사용할 수가 없습니다.

MongoDB Enterprise Server is the commercial edition of MongoDB.

반응형