Save Audits to Solr
Note | |
---|---|
Saving audits to Solr requires that you have already installed Solr and configured SolrCloud. |
To save audits to Solr:
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 solr
in the Ranger KMS component.Check the
Audit provider summary enabled
box, and make sure thatxasecure.audit.is.enabled
is set to true.Restart Ranger KMS.
Note | |
---|---|
Check audit logs on Ranger UI, to make sure that they are getting through Solr:
|