Using logadm to rotate BSM (/var/audit) logs

Hi,

can logadm be used to rotate and archieve BSM logfiles? Looking in to the audit mechanisim it seems the correct way to rotate the files is usning audit -n, however audit does not do the other usefull things that you can do with logadm.

Basicly what I want to do is rotate the logfile and zip the old ones using logadm. Can that be done? Seen as the audit files have very specific names based upon time stamps I guess no.

Any thoughts?

[464 byte] By [smyles] at [2007-11-26 9:20:58]
# 1
I'd look into auditreduce for this. It can help you to select right trails and export those to new trailfiles. After that you should be able to basicly throw the old ones away.
LionO at 2007-7-6 23:52:38 > top of Java-index,Solaris Operating System,Solaris 10 Features...