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

    • New Feature
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Internal Code, Logging
    • Platform B (10/30/15)

    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

              backlog-server-security Backlog - Security Team
              eoin.brazil@mongodb.com Eoin Brazil
              Votes:
              1 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated: