Moodle Plugins directory: S3 Log Archiver | Moodle.org
Moodle to Amazon S3 Log Archiver
This plugin will take entries from the Moodle standard log store table and export them to AWS S3.
There is no internal cleanup process in Moodle to manage the size of the standard log store table. This table will get continuously larger overtime. On busy Moodle sites this means that the table can easily be over 100GB on disk. As the standard log store table grows, both in number of records and size on disk Moodle performance can be effected.
This plugin will extract entries from the standard log store table that are older than a user configured date. These extracted entries are then uploaded to AWS S3 as a csv file, and finally the original records are deleted from the Moodle database. Doing this keeps the Moodle databse size down while preserving data that can be leverage for analytics and other functions.
The plugin functionality runs as a Moodle scheduled task.
Comments