Enabling and Disabling Audit Streaming Using the CLI

Explains how to enable or disable audit streaming using the CLI.

About this task

Audit streaming is not enabled by default. You can enable or disable audit streaming using the CLI.

Procedure

Run the following command to:
  • Enable audit streaming:
    maprcli config save -values '{"mfs.enable.audit.as.stream":"1"}'
    NOTE If you are re-enabling audit streaming after disabling it, the audit stream starts publishing to topics from where it left off processing audit logs.
  • Disable audit streaming:
    maprcli config save -values '{"mfs.enable.audit.as.stream":"0"}'