Log Maintenance

Use the Log Maintenance page to:

Truncation and Archival Rules

By default, the main SOTI MobiControl database stores two days worth of the following logs:

  • User Generated
  • Device Generated
  • Server Generated
  • System Generated

Older logs get moved to the archive database MobiControlDB_Archive each night at midnight (local time of the management service). When the nightly maintenance moves a day's worth of logs to the MobiControlDB_Archive, it deletes the oldest day's logs from the archive database.

The following logs are never moved to the MobiControlDB_Archive database. By default, they remain in the main database indefinitely:

  • Alerts
  • App Logs

You can define rules for truncating the logs from whichever database they reside in (main or archive) and for archiving them to text files. You can also define how long to keep the text files.

Data Truncation and Archival Toolbar

The toolbar at the top-right corner of the page includes three icons:

Truncate User, Device and System Logs

Truncate User, Device, Server, and System Logs

Select to immediately truncate (without archiving) device, system, server, and user logs.

Truncate Alerts

Truncate Alerts

Select to immediately truncate (without archiving) alert logs.

Truncate App Logs

Truncate App Logs

Select to immediately truncate (without archiving) application logs.

Truncation and Archival by Log Type

The following fields and controls appear for each log type:

Data Type Displays the log type.
Truncate Data Older Than Define when to remove data from the database:
  • On the left, type the number of time units.
  • On the right, select a time unit.
Archive Select "Yes" to archive the truncated data to files.
Toggle Turn off the toggle to never truncate or archive logs of this type to files.

File Archival Settings

The following fields and controls let you control file archiving:
Note: These files may contain sensitive and personal information. You must store them in a well-protected location. Your organizations is responsible for restricting access to the exported files.
Archive Folder Turn on the toggle to enable file archiving. When you do, the Folder Path field appears.
Folder Path Enter the a local or network path to the folder where you want to save the archived files.
Delete Archives Turn on the toggle to enable automated deletion of archive files based on their age. When you do, the Older Than controls appear.
Older Than Select the time unit and the number of these units. Files older than the defined age get deleted during nightly maintenance.

Device Auto Deletion Settings

The following fields and controls enable you to automatically delete devices that have not connected to SOTI MobiControl within a specified period.

Note: Deleting a device removes it from SOTI MobiControl management.
Delete Offline Devices Turn on the toggle to enable automatic device deletion. When you do, the Offline More Than controls appear.
Offline More Than Select the time unit and the number of these units. Devices that remained offline longer than the set period get removed from SOTI MobiControl management.
Permanently Delete Devices After Web Console Deletion Toggle this option on to enable permanent device deletion. This removes all records of a device from the SOTI MobiControl database once deleted from the console.

You must Save or Cancel changes.