2pisoftware / cmfive

DEPRECATED! Please see https://github.com/2pisoftware/cmfive-core for new version
http://cmfive.com
4 stars 4 forks source link

Create audit archival feature #195

Closed adam-buckley closed 4 years ago

adam-buckley commented 8 years ago

I've seen the audit table amass over 230 million rows of log entries. We need an audit archival feature, however, if this the excess audit entries are causing HDD space issues though, archiving will most likely fail. I think an archive, in conjunction with a relaxation of what we audit is a good combination.

careck commented 8 years ago

The archival process could export the audit entries to a csv file, which gets zipped and stored to the attachment folder. If this attachment folder is on S3 (using the filesystem layer) then there is no problem with space.

adam-buckley commented 8 years ago

That's a big if! Cmfive users shouldn't have to sign up to S3 to guarantee that Cmfive won't obliterate their hard drive space!

adam-buckley commented 4 years ago

This is currently implemented on the feature/OmitFromSearch branch, needs testing but it will get in eventually. The CSV is given to the user to download and do what they want with the audit table entries