Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18240

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

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

      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:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            eoin.brazil@mongodb.com Eoin Brazil
            Votes:
            1 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated: