[DOCS-8083] Comment on: "manual/tutorial/configure-audit-filters.txt" Created: 12/Jun/16  Updated: 30/Oct/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: collector-298ba4e7, docs-triage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Participants:
Days since reply: 1 year, 14 weeks, 2 days ago
Epic Link: DOCSP-1769

 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.



 Comments   
Comment by Education Bot [ 31/Oct/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Generated at Thu Feb 08 07:55:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.