Hello,

I followed the installation documentation (
https://cwiki.apache.org/confluence/display/RANGER/Install+and+Configure+Solr+for+Ranger+Audits+-+Apache+Ranger+0.5)
to install Solr Standalone and have configurered ranger-admind with the
solr url. The config also have username and password properties. What will
be the values of these field ? I can access the Solr web ui without any
login information so I am guessing there is no authentication for it.

Also, the documentation here (
https://cwiki.apache.org/confluence/display/RANGER/Apache+Ranger+0.5.0+Installation#ApacheRanger0.5.0Installation-EnablingAuditLoggingToSOLR)
describes how to enable solr auditing for a plugin through
install.properties configuration. I don't have this file for my service. I
have one look up jar which is running inside ranger and another
authorization jar running inside my service and the security.xml, audit.xml
files in the classpath of my service.

Where should I define these values ?

PROPERTY
VALUE
XAAUDIT.SOLR.IS_ENABLED true
XAAUDIT.SOLR.ENABLE true
XAAUDIT.SOLR.URL

http://solr_host:6083/solr/ranger_audits
XAAUDIT.SOLR.USER ranger_solr
XAAUDIT.SOLR.PASSWORD NONE
XAAUDIT.SOLR.FILE_SPOOL_DIR var/log/hadoop/hdfs/audit/solr/spool

Currently, I don't see any documents in my Solr installation under
ranger_audits.

Any help will be appreciated.

Thanks,
Rohit Sinha

Reply via email to