Support Questions

Find answers, ask questions, and share your expertise

Not able to get ranger audit- access details, getting error Unable to connect to Audit store !!

New Contributor

16278-ranger-audit-error.png

HI I am using HDP2.5 sandbox, when I try to accces audit logs I get error "Unable to connect to audit store".

all other ranger-other-audit.jpg, tabs/fuctions are working fine except this audit-access logs.

Also, solr and ambari-infra services are running.

4 REPLIES 4

Contributor

@Sunil Gaikwad Can you please check whether the audit configurations are proper.

Check the audit properties in ambari/ranger config. Also see if there are any errors during ranger startup.

Hi Sunil,

Take a look at this tutorial - https://hortonworks.com/tutorial/tag-based-policies-with-apache-ranger-and-apache-atlas/ to confirm your steps. If you still see that message, check http://sandbox.hortonworks.com:8886/solr/#/~cloud to confirm you have a ranger_audits collection.

27398-screen-shot-2017-08-10-at-35840-pm.png

If you don't see it, I recommend restarting the Ambari Infra service. After you see the collection in Solr, you should see the audit logs:

27399-screen-shot-2017-08-11-at-84515-am.png

Mentor

@Sunil Gaikwad

Have you enable the corresponding Ranger plugins ? Ambari Ui---> Ranger--->Config--->Range Plugin