Security
Showing results for 
Search instead for 
Do you mean 

Audit Log rotation in 11.31 ?

Audit Log rotation in 11.31 ?

Hi All ,

 

Is there any option to rotate the audit logs in 11.31,  Since it is increasing in numbers.

 

 

Regards

MMM

3 REPLIES
Valued Contributor [Founder]

Re: Audit Log rotation in 11.31 ?

Hi,

 

I don't know of any tool except writing a small script and running it from corn.

 

Bye

Ralf

Re: Audit Log rotation in 11.31 ?

Frequent Advisor

Re: Audit Log rotation in 11.31 ?

Hi,

 

Not sure that the below script will work exactly as per requirement or not, but you can have a look on it.

 

## Configuration for logrotate
# Please read perl-logrotate.pl for more information

logfile /var/log/messages

rotate-time 1 week
keep-files 5
compress yes
status-file /var/cache/logrotate.status
dryrun yes
-------

 

Thanks & Regards,

Chirag Parikh