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

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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Internal Code, Logging
    • Labels:
    • Sprint:
      Platform B (10/30/15)
    • Case:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-security Backlog - Security Team
              Reporter:
              eoin.brazil Eoin Brazil
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              18 Start watching this issue

                Dates

                Created:
                Updated: