Skip to content

Commit e2b8156

Browse files
author
Dave
authored
DOCS-14155 clarify enable auditing (#56)
1 parent eff48f1 commit e2b8156

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

source/core/auditing.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ deployments with multiple users and applications.
2020
Enable and Configure Audit Output
2121
---------------------------------
2222

23-
The auditing facility can write audit events to the console, the :term:`syslog`, a JSON
24-
file, or a BSON file. To enable auditing for MongoDB Enterprise, see
25-
:doc:`/tutorial/configure-auditing`.
23+
The auditing facility can write audit events to the console, the
24+
:term:`syslog`, a JSON file, or a BSON file. To enable auditing in
25+
MongoDB Enterprise, set an audit output destination with
26+
:option:`--auditDestination <mongod --auditDestination>`. For details,
27+
see :doc:`/tutorial/configure-auditing`.
2628

2729
For information on the audit log messages, see :doc:`/reference/audit-message`.
2830

@@ -31,7 +33,8 @@ For information on the audit log messages, see :doc:`/reference/audit-message`.
3133
Audit Events and Filter
3234
-----------------------
3335

34-
Once enabled, the auditing system can record the following operations [#transactions]_:
36+
Once enabled, the auditing system can record the following operations
37+
[#transactions]_:
3538

3639
- schema (DDL),
3740
- replica set and sharded cluster,

source/tutorial/configure-auditing.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,16 @@ messages, see :doc:`/reference/audit-message`.
3535
Enable and Configure Audit Output
3636
---------------------------------
3737

38-
Use the :option:`--auditDestination <mongod --auditDestination>` option
39-
to enable auditing and specify where to output the audit events.
38+
To enable auditing in MongoDB Enterprise, set an audit output
39+
destination with :option:`--auditDestination <mongod
40+
--auditDestination>`.
4041

4142
.. warning::
4243

43-
For sharded clusters, if you enable auditing on :binary:`~bin.mongos`
44-
instances, you must enable auditing on all :binary:`~bin.mongod`
45-
instances in the cluster, i.e. shards and config servers.
44+
For sharded clusters, if you enable auditing on
45+
:binary:`~bin.mongos` instances you must also enable auditing on the
46+
cluster's :binary:`~bin.mongod` instances. Configure auditing for
47+
:binary:`~bin.mongod` on all of the shards and config servers.
4648

4749
Output to Syslog
4850
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)