Enabling or Disabling Auditing

Use a maprcli command or MCS to enable or disable auditing of the actions taken on a MapR-DB table.

With the methods described below, you can specify whether to turn auditing on for the table. If auditing is also enabled at the cluster level with the maprcli audit data command and enabled for the current volume, setting this value to true causes auditing to start for the table.

The possible values are true and false. By default, the value is false.

maprcli commands

If you want to create a table and enable auditing of actions on the table, you can use the -audit parameter in the command maprcli table create:
maprcli table create -path <path> -audit true|false
For a full description of this command, see table create.
If you want to start or stop auditing a table that already exists, use the command maprcli table edit and add the -audit parameter:
maprcli table edit -path <path> -audit true|false
For a full description of this command, see table edit.

MCS

When you are creating a table, select the Enable Auditing check box:

Figure: The location of the Enable Auditing check box

When you are editing a table, click the Edit Table Permisions button. Then, select the Enable Auditing check box:

Figure: The location of the Edit Table Permissions button

Figure: The location of the Enable Auditing check box