Re: Audit Log rotation in 11.31 ? (247 Views)
Reply
Advisor
Mohammed.Muneer
Posts: 29
Registered: ‎12-27-2009
Message 1 of 4 (330 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

Please use plain text.
Valued Contributor
Ralf Seefeldt
Posts: 166
Registered: ‎04-02-2001
Message 2 of 4 (296 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

Please use plain text.
Advisor
Stijn Adriaensens
Posts: 21
Registered: ‎09-11-2009
Message 3 of 4 (275 Views)

Re: Audit Log rotation in 11.31 ?

Please use plain text.
Frequent Advisor
Chirag Parikh
Posts: 51
Registered: ‎11-06-2007
Message 4 of 4 (247 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

Please use plain text.
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