@@ -264,7 +264,7 @@ a paid subscription.
264264
265265 - |MMS| is a cloud-based suite of services for managing MongoDB
266266 deployments. |MMS| provides monitoring, backup, and automation
267- functionality. For an on-premise solution, see also
267+ functionality. For an on-premise solution, see also
268268 :products:`Ops Manager, available in MongoDB Enterprise Advanced
269269 </mongodb-enterprise-advanced?jmp=docs>`.
270270
@@ -354,6 +354,61 @@ affect logging:
354354- :dbcommand:`logRotate`. Rotates the log files for :program:`mongod`
355355 processes only. See :doc:`/tutorial/rotate-log-files`.
356356
357+ .. _monitoring-log-redaction:
358+
359+ Log Redaction
360+ ~~~~~~~~~~~~~
361+
362+ .. versionadded:: 3.4 Available in MongoDB Enterprise only
363+
364+ A :program:`mongod` running with :setting:`security.redactClientLogData`
365+ redacts :doc:`messages </reference/log-messages>` associated with any given
366+ log event before logging, leaving only metadata, source files, or line numbers
367+ related to the event. :setting:`security.redactClientLogData` prevents
368+ potentially sensitive information from entering the system log at the cost of
369+ diagnostic detail.
370+
371+ For example, the following operation inserts a document into a
372+ :program:`mongod` running without log redaction. The :program:`mongod`
373+ has :setting:`systemLog.component.query.verbosity` set to ``0``:
374+
375+ .. code-block:: javascript
376+
377+ db.clients.insertOne( { "name" : Joe, "PII" : "Sensitive Information" } )
378+
379+ This operation produces the following log event:
380+
381+ .. code-block:: text
382+
383+ 2016-09-23T13:51:43.572-0400 I COMMAND [conn1] command employeeData.directory
384+ appName: "MongoDB Shell"
385+ command: insert {
386+ insert: "directory",
387+ documents: [
388+ {
389+ _id: ObjectId('57e56baf6a71e2b785153aec'),
390+ name: "Joe",
391+ PII: "Sensitive Information"
392+ }
393+ ],
394+ ...
395+
396+ A :program:`mongod` running with :setting:`security.redactClientLogData`
397+ performing the same insert operation produces the following log event:
398+
399+ .. note::
400+
401+ The exact redacted output may change leading up to the MongoDB 3.4 release.
402+ This output is based on the 3.3 development series build.
403+
404+ .. code-block:: text
405+
406+ 2016-09-23T13:51:43.572-0400 I COMMAND [conn1] ###
407+
408+ Use :setting:`~security.redactClientLogData` in conjunction with
409+ :doc:`encryption </core/security-encryption>` to assist compliance with
410+ regulatory requirements.
411+
357412Diagnosing Performance Issues
358413-----------------------------
359414
@@ -497,7 +552,7 @@ using this lock.
497552
498553 .. toctree::
499554 :titlesonly:
500-
555+
501556 /tutorial/monitor-with-snmp
502557 /tutorial/monitor-with-snmp-on-windows
503- /tutorial/troubleshoot-snmp
558+ /tutorial/troubleshoot-snmp
0 commit comments