Audit Log rotation in 11.31 ? (560 Views)
Reply
Advisor
Mohammed.Muneer
Posts: 29
Registered: ‎12-27-2009
Message 1 of 4 (560 Views)

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

Valued Contributor
Ralf Seefeldt
Posts: 168
Registered: ‎04-02-2001
Message 2 of 4 (526 Views)

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

Advisor
Stijn Adriaensens
Posts: 21
Registered: ‎09-11-2009
Message 3 of 4 (505 Views)

Re: Audit Log rotation in 11.31 ?

Frequent Advisor
Chirag Parikh
Posts: 51
Registered: ‎11-06-2007
Message 4 of 4 (477 Views)

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

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.