BladeSystem Forums have moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
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

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