Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8083

Comment on: "manual/tutorial/configure-audit-filters.txt"

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago