Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

need to compress & rotate hdfs audit log

Highlighted

need to compress & rotate hdfs audit log

Explorer

i did logrotate using linux,but i am not getting where current logs are getting dumped.in that todays logs are also in compressed format till 3:00 am.after that there are no logs.

everyday hdfs audit logs generated aroun 7 gb .

I need keep 7 days log and compress logs older than a day.

which config changes i need to do.

1 REPLY 1
Highlighted

Re: need to compress & rotate hdfs audit log

Mentor

@John

Here is a document created by HWX support that should a good starting point How to setup hdfs_audit log retention



Don't have an account?
Coming from Hortonworks? Activate your account here