Operating System - HP-UX
1748089 Members
5053 Online
108758 Solutions
New Discussion

Re: Audit Log rotation in 11.31 ?

 
Mohammed.Muneer
Advisor

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 3
Ralf Seefeldt
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 ?

Chirag Parikh
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