Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

how to check owner of your existing solr collection ?

Highlighted

how to check owner of your existing solr collection ?

Guru

Team,

Is there anyway to know who has created a collection in solr ? Actually if we have come collections in our solr(some users created them) and I want to know about that collections owner and some more metadata details about collections.

3 REPLIES 3

Re: how to check owner of your existing solr collection ?

@Saurabh Kumar

Is Solr configured with Ranger for security? If it is, then the Ranger audit logs for activity in Solr should be captured. Solr, without Ranger doesn't provide a real auditing capabiliity out of the box.

Re: how to check owner of your existing solr collection ?

Guru

@Michael Young : Yes I have but due to some issue Ranger Audit is not working.

Is there any Crul command to get it or anyway through Solr Admin UI ?

Thanks in advance.

Re: how to check owner of your existing solr collection ?

Is your Ranger config working at all? Or is it just the Ranger Audit UI not working? You can write to both Solr and HDFS. This will allow you to access audit data on HDFS as a backup in the event something has gone wrong with Solr.

If Ranger is configured to send audit data to Solr,you can access the Solr collection via http://solr hostname:6083/solr/ranger_audits

Here is a screenshot of the Ranger Audit config from HDP 2.5 TP Sandbox:

6570-ranger-audit-config.png

Don't have an account?
Coming from Hortonworks? Activate your account here