如何在mongodb中启用系统级审核
我对mongoDB很陌生。 作为mongoDB中安全实现的一部分,我需要启用系统级审计如何在mongodb中启用系统级审核,mongodb,Mongodb,我对mongoDB很陌生。 作为mongoDB中安全实现的一部分,我需要启用系统级审计 auditLog: destination: file format: JSON path: data/db/auditLog.json 但这似乎不起作用。即使来自mongo shell,我也喜欢: mongo db --port <port number> -u <username> -p <password> --authenticationDatabase db -
auditLog:
destination: file
format: JSON
path: data/db/auditLog.json
但这似乎不起作用。即使来自mongo shell,我也喜欢:
mongo db --port <port number> -u <username> -p <password> --authenticationDatabase db --auditDestination data/db/auditLog.json.
mongo db--port-u-p--authenticationDatabase db--auditDestination data/db/auditLog.json。
但它似乎仍然不起作用
非常感谢任何帮助正如MongoDB文档中提到的审计功能,审计功能仅限于MongoDB的企业版 您需要联系MongoDB购买他们的企业软件