Created 08-04-2016 01:52 PM
I installed apache knox on HDP 2.4.2. I have been able to successfully configure the gateway and can use curl commands to query HBase through the REST service. However, the inquiry details are not reflecting in the audit section of the apache ranger admin. Only the access audit tab is not showing anything but the other tabs (admin, login sessions and plugins) are fine. Any one come across this challenge?
Created 08-05-2016 03:05 PM
For the Ranger Audit tab to work and display information, you need to first install Solr - HDP Search as per https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_hdp_search/content/ch_hdp-search-install...
And then follow the steps from the link provided by Sunile:
Created 08-04-2016 02:10 PM
Ranger supports audit logging hdfs and solr in 2.4.2. More info here. Please advise why you are using hbase for audit logs?
Created on 08-05-2016 04:57 AM - edited 08-18-2019 04:17 AM
I am using Ranger for all the audits. I am currently testing knox and i can't see any log in ranger under the access tab.
Created 08-05-2016 05:04 AM
And i assume you are looking for the audit logs? If so look under audit tab. If you did that and nothing shows up, you need to configure the audit db. Look at link i provided.
Created 08-05-2016 12:50 PM
I have configured for all the components except Solr and Storm. However, i am more interested in the other services (Knox, HBase, HDFS...). Can not configuring storm stall things?
Created 08-05-2016 02:52 PM
I am confused by your last comment. Have you configured ranger and audit?
Created on 08-05-2016 02:58 PM - edited 08-18-2019 04:16 AM
Yes i have. and i see the logs in the Admin, Login session and Plugins but NOT in the Access tab.
Created 08-05-2016 03:18 PM
Can you check the following setting:
XAAUDIT.HDFS.IS_ENABLED Flag to enable/disable hdfs audit logging. If the hdfs audit logging is turned off, it will not log any access control to hdfs
Created 08-08-2016 09:31 AM
Thank you @Sunile Manjee. I had to install Solr to get the access audit tab working. Thanks to @Alexandru Anghel as well. God bless you all.
Created 08-05-2016 03:05 PM
For the Ranger Audit tab to work and display information, you need to first install Solr - HDP Search as per https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_hdp_search/content/ch_hdp-search-install...
And then follow the steps from the link provided by Sunile: