Details
-
Bug
-
Resolution: Won't Do
-
Major - P3
-
None
-
win 10
*Location*: https://docs.mongodb.com/manual/tutorial/configure-audit-filters/
*User-Agent*: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
*Referrer*: https://docs.mongodb.com/manual/core/auditing/
*Screen Resolution*: 1920 x 1080
win 10 *Location*: https://docs.mongodb.com/manual/tutorial/configure-audit-filters/ *User-Agent*: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36 *Referrer*: https://docs.mongodb.com/manual/core/auditing/ *Screen Resolution*: 1920 x 1080
Description
Hi, I'm trying to use Configure Audit Filers in my MongoDB Enterprise. I have all set in my laptop and everything works fine. But when I wanted to filter "find" by using command: mongod --dbpath data/db --auditDestination file --auditFilter '{ atype:
{ $in: [ "find" ] }}' --auditFormat JSON --auditPath data/db/auditLog.json. It says: Error parsing command line: too many positional options have been specified on the command line. And when I try the example from the webpage: mongod --dbpath data/db --auditDestination file --auditFilter '{ atype:
{ $in: [ "createCollection", "dropCollection" ] }}' --auditFormat BSON --auditPath data/db/auditLog.bson. It keeps saying that. I hope you could help me solve this problem, thanks.