14.5. Using Local Storage

Enabling Local Storage

  1. Navigate to the Local Storage tab.

  2. Check Enable local storage.

  3. Set the Retention (days) value. Enter 0 to retain records indefinitely, or enter a number of days after which old records are automatically purged. Purging occurs every 6 hours.

  4. Click Apply.

The DataHub instance creates a SQLite database file (Audit.sqlite) in the plugin's configuration directory and begins writing audit events to it.

Generating Reports

To export audit records as a CSV file:

  1. On the Local Storage tab, set the Start date and End date to define the date range.

  2. Click Generate CSV.

  3. Choose a location to save the CSV file.

To view database size information, click Refresh size information. The display updates with the current database file size and record count for the selected date range.