Support Questions

Find answers, ask questions, and share your expertise

Hue audits not logging consistently

avatar
New Contributor

Hue audits are not logging consistently

 

/var/log/hue/audit/

 

on CDH 5.16.2

 

any ideas, is this a bug?

1 ACCEPTED SOLUTION

avatar
Master Guru

@FredButler Yes, Navigator is enterprise only feature so if Navigator is not there as a service then these logs will not be generated. The log is controlled by the "Audit Event Tracker" property in Hue configuration when Navigator Audits are enabled for Hue. 


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

View solution in original post

3 REPLIES 3

avatar
Master Guru

@FredButler The audit logs directory contains the Audits logs from the Cloudera Navigator. So if you Cloudera Navigator is running and collecting the audits for Hue then you can expect the logs here. 


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
New Contributor

thanks for responding, what if the cluster is running Cloudera express? so no navigator.

 

[root@hueserver2 ~]# ll /var/log/hue/audit/
total 248
-rw-r--r--. 1 hue hue 242097 Feb 2 10:20 hue-HUE_SERVER-fabd1d98d370265f12bbcc25b7b9cb94
-rw-r--r--. 1 root root 55 Jan 29 15:38 hue_server_audit_wal

 

[root@hueserver2 ~]# ll /var/log/hue/
total 85392
-rw-r--r--. 1 hue hue 2376606 Nov 24 10:09 access.log
-rw-r--r--. 1 hue hue 4999972 Nov 20 11:18 access.log.1
-rw-r--r--. 1 hue hue 4999923 Nov 12 02:31 access.log.2
-rw-r--r--. 1 hue hue 4999912 Nov 3 10:38 access.log.3
-rw-r--r--. 1 hue hue 4999975 Oct 26 16:47 access.log.4
-rw-r--r--. 1 hue hue 4999943 Oct 20 21:08 access.log.5
drwx------. 2 hue hue 4096 Jan 29 15:38 audit
-rw-r--r--. 1 hue hue 4457707 Nov 24 10:09 error.log
-rw-r--r--. 1 hue hue 72105 Nov 24 10:02 error.log.1
-rw-r--r--. 1 hue hue 4999987 Nov 19 18:46 error.log.2
-rw-r--r--. 1 hue hue 4999987 Nov 13 21:31 error.log.3
-rw-r--r--. 1 hue hue 4999963 Nov 7 13:18 error.log.4
-rw-r--r--. 1 hue hue 4999890 Nov 1 01:28 error.log.5
-rw-r--r--. 1 hue hue 2597695 Nov 24 10:02 kt_renewer.log
-rw-r--r--. 1 hue hue 4999983 Nov 18 2019 kt_renewer.log.1
drwxr-xr-x. 2 hue hue 4096 Feb 10 12:51 metrics-hue_server
-rw-r--r--. 1 hue hue 102342 Nov 12 11:01 migrate.log
-rw-r--r--. 1 hue hue 2099769 Nov 24 10:09 runcpserver.log
-rw-r--r--. 1 hue hue 4999979 Nov 22 03:05 runcpserver.log.1
-rw-r--r--. 1 hue hue 4999917 Nov 16 22:42 runcpserver.log.2
-rw-r--r--. 1 hue hue 4999934 Nov 10 14:15 runcpserver.log.3
-rw-r--r--. 1 hue hue 4999987 Nov 4 02:08 runcpserver.log.4
-rw-r--r--. 1 hue hue 4999980 Oct 28 14:36 runcpserver.log.5
-rw-r--r--. 1 hue hue 604871 Nov 12 11:01 syncdb.log

avatar
Master Guru

@FredButler Yes, Navigator is enterprise only feature so if Navigator is not there as a service then these logs will not be generated. The log is controlled by the "Audit Event Tracker" property in Hue configuration when Navigator Audits are enabled for Hue. 


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.