Support copy and paste of queries from mongod log into mongo shell

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code, Logging
    • Server Security
    • Platform B (10/30/15)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I want to be able to retrospectively analyse the slow queries in my mongod log file. The current logging format for MongoDB is not conducive to doing do since slow queries output in the log cannot always be copied and pasted verbatim into the mongo shell. For example:

      • nested field names are not quoted in the log, and this causes a parsing issue when pasting the output verbatim from the log output into a Mongo Shell.
      • queries including binary data are stringified as "BinData...." whereas the query must be entered with "HexData..." in the shell

              Assignee:
              [DO NOT USE] Backlog - Security Team
              Reporter:
              Eoin Brazil
              Votes:
              1 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated: