@@ -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,55 @@ 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+ removes :doc:`messages </reference/log-messages>` associated with any given log
366+ event, leaving only metadata, source files, or line numbers related to the
367+ event. :setting:`security.redactClientLogData` prevents potentially sensitive
368+ information from entering the system log at the cost of diagnostic detail.
369+
370+ For example, the following operation inserts a document into a
371+ :program:`mongod` running without log redaction. The :program:`mongod`
372+ has :setting:`systemLog.component.query.verbosity` set to ``0``:
373+
374+ .. code-block:: javascript
375+
376+ db.clients.insertOne( { "name" : Joe, "PII" : "Sensitive Information" } )
377+
378+ This operation produces the following log event:
379+
380+ .. code-block:: text
381+
382+ 2016-09-23T13:51:43.572-0400 I COMMAND [conn1] command employeeData.directory
383+ appName: "MongoDB Shell"
384+ command: insert {
385+ insert: "directory",
386+ documents: [
387+ {
388+ _id: ObjectId('57e56baf6a71e2b785153aec'),
389+ name: "Joe",
390+ PII: "Sensitive Information"
391+ }
392+ ],
393+ ...
394+
395+ A :program:`mongod` running with :setting:`security.redactClientLogData`
396+ performing the same insert operation produces the following log event:
397+
398+ .. code-block:: text
399+
400+ 2016-09-23T13:51:43.572-0400 I COMMAND [conn1] ###
401+
402+ Use :setting:`~security.redactClientLogData` in conjunction with
403+ :doc:`encryption </core/security-encryption>` to assist compliance with
404+ regulatory requirements.
405+
357406Diagnosing Performance Issues
358407-----------------------------
359408
@@ -497,7 +546,7 @@ using this lock.
497546
498547 .. toctree::
499548 :titlesonly:
500-
549+
501550 /tutorial/monitor-with-snmp
502551 /tutorial/monitor-with-snmp-on-windows
503- /tutorial/troubleshoot-snmp
552+ /tutorial/troubleshoot-snmp
0 commit comments