Created on 05-04-2016 04:19 PM - edited 09-16-2022 03:17 AM
where can I find Namenode, ranger and hive audit logs on edge node
Created 05-04-2016 04:20 PM
The audit logs are created on the respective nodes within the cluster where the services run (not on the edge node). For example, if you are looking for the Hive audit logs, look in /var/log/hive on the node in your cluster where Hiveserver2 runs. Alternatively, you can view access and admin audit information through the Ranger UI on the "Audit" tab.
Created 05-04-2016 04:20 PM
The audit logs are created on the respective nodes within the cluster where the services run (not on the edge node). For example, if you are looking for the Hive audit logs, look in /var/log/hive on the node in your cluster where Hiveserver2 runs. Alternatively, you can view access and admin audit information through the Ranger UI on the "Audit" tab.
Created 05-04-2016 04:31 PM
Thank you. Logged in hiveserver2, but under audit I see as below. Can I consider these as audit logs?
/var/log/hive/audit/hdfs/spool # ll -lrt total 16 -rw-r--r-- 1 hive hadoop 0 Apr 28 02:45 index_batch_batch.hdfs_hiveServer2_closed.json drwxr-xr-x 2 hive hadoop 4096 Apr 28 02:45 archive -rw-r--r-- 1 hive hadoop 458 Apr 28 03:26 spool_hiveServer2_20160428-0326.52.log -rw-r--r-- 1 hive hadoop 455 Apr 28 03:29 spool_hiveServer2_20160428-0329.02.log -rw-r--r-- 1 hive hadoop 599 Apr 28 03:29 index_batch_batch.hdfs_hiveServer2.json