Hafiz, Different Solr URLs are specified in configuration of HDFS plugin and Ranger Admin. Can you please review and update such that they both point to the same Solr instance?
properties for hdfs plugin: XAAUDIT.SOLR.URL=http://192.168.23.105:6083/solr/ranger_audits properties in ranger-admin: audit_solr_urls=http://122.129.79.70:6083/solr/ranger_audits Madhan From: Don Bosco Durai <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Monday, November 30, 2015 at 10:48 AM To: "[email protected]" <[email protected]> Subject: Re: access audit logs are not being shown on ranger ui The properties seems correct. Best way to test is to : Check the HDFS logs. Check Solr from web interface (use the same url you configured) See if there are any unprocessed files in /var/log/hadoop/hdfs/audit/solr/spool Bosco From: Hafiz Mujadid <[email protected]> Reply-To: <[email protected]> Date: Monday, November 30, 2015 at 7:22 AM To: <[email protected]> Subject: access audit logs are not being shown on ranger ui hi, I have enabled ranger audits in solr, but access audits are not being shown. properties for hdfs plugin XAAUDIT.SOLR.ENABLE=true XAAUDIT.SOLR.URL=http://192.168.23.105:6083/solr/ranger_audits XAAUDIT.SOLR.USER=ranger_solr XAAUDIT.SOLR.PASSWORD=NONE XAAUDIT.SOLR.ZOOKEEPER=NONE XAAUDIT.SOLR.FILE_SPOOL_DIR=/var/log/hadoop/hdfs/audit/solr/spool properties in ranger-admin audit_store=solr audit_solr_urls=http://122.129.79.70:6083/solr/ranger_audits audit_solr_user=ranger_solr audit_solr_password=NONE audit_solr_zookeepers= But no audits logs are shown in ranger-admin how can i check the issue ? thanks
