Save Audits to Solr
How to save audits to Solr, when enabling Ranger KMS Audit.
-
From the Ambari dashboard, select the Ranger service. Select Configs >
Advanced, then scroll down and select Advanced ranger-admin-site. Set
the following property value:
ranger.audit.source.type = solr. - On the Ranger Configs tab, select Ranger Audit. The SolrCloud button should be set to ON. The SolrCloud configuration settings are loaded automatically when the SolrCloud button is set from OFF to ON, but you can also manually update the settings.
- Restart the Ranger service.
- Next, to enable Ranger KMS auditing to Solr, set the following properties in the Advanced
ranger-kms-audit list:
-
Check the box next to
Enable audit to solrin the Ranger KMS component. -
Check the
Audit provider summary enabledbox, and make sure thatxasecure.audit.is.enabledis set to true. - Restart Ranger KMS.
-
Check the box next to

