All of lore.kernel.org
 help / color / mirror / Atom feed
* audit.log with logrotate on CentOS
@ 2016-05-26 15:29 Warron S French
  2016-05-26 16:01 ` Ed Christiansen MS
  0 siblings, 1 reply; 3+ messages in thread
From: Warron S French @ 2016-05-26 15:29 UTC (permalink / raw)
  To: linux-audit@redhat.com


[-- Attachment #1.1: Type: text/plain, Size: 1416 bytes --]

Hello, I am using CentOS-6.7 and I have implemented the audispatch configurations and they are working pretty nicely.

One of the requirements I have to satisfy, somehow, is 7 years retention of logdata.  That is an enormous amount of data to store on /var/log/audit filesystem - even for a single server and 6 workstations combined.  I have a 2.0TB sized filesystem in place already - but it won't be enough to satisfy the retention of 7 years of data.

So, my plan is a tiered approach to managing the log files if someone could please advise on how best to implement the following:
Rotate log files every single Monday morning at 12:01am.
When I rotate them place the dateext extension (for example 20160523) to indicate all date is up to that date extension.
When I rotate them, I also want to bzip2 compress them (I have the binaries on the server).
Only keep at most 15 of those rotated (date-string extension applied) compressed files so that I can once a month take over a DVD burner and burn the files to DvD; however, I want to ensure that the files never grow any larger than the size of a normal (not dual-layer) DvD media which is typically 4.70GB (so I am estimating a 4.0GB limitation) that is after rotation and compression.

Can someone help me figure out how to most appropriately (and more importantly) and successfully implement this configuration?





Warron French, MBA, SCSA

[-- Attachment #1.2: Type: text/html, Size: 3903 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-26 17:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-26 15:29 audit.log with logrotate on CentOS Warron S French
2016-05-26 16:01 ` Ed Christiansen MS
2016-05-26 17:30   ` Warron S French

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.