UniFi Drive: List Logs
unifi_drive_list_logsRetrieve UNAS system logs newest first, filtered by severity, category, type or time, to diagnose storage, snapshot and settings events. Sign-ins and file activity stay hidden unless explicitly included.
Instructions
The UNAS system log, newest first, each entry rendered as the sentence the web app shows ("A scheduled snapshot for Shared_Drive was skipped due to insufficient storage space."). Filter by severity, category, type and time. Sign-ins and file activity are EXCLUDED by default because they bury everything else — one line per SMB reconnect — so set include_access to see who connected from where. For a verdict rather than a log, use unifi_drive_health_check. Page with cursor.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unifi_drive_list_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Entries per page (1-100). Defaults to 30. | |
| since | No | Oldest entry to return. ISO 8601 ("2026-11-20T00:00:00Z"), a relative expression ("24h", "7d ago"), or "now". | |
| types | No | Exact log types, e.g. ["snapshots","storagePool"]. Overrides `categories`. Known types: backups, directoryIntegration, diskEnclosure, drive, driveEncryption, fanMode, fileActivity, fileServices, hotSpare, iscsi, scrubbing, sharedLinks, snapshots, ssdCache, storagePool, usbActivity, userAccess, userAndDriveManagement. | |
| until | No | Newest entry to return. Defaults to now. ISO 8601 ("2026-11-20T00:00:00Z"), a relative expression ("24h", "7d ago"), or "now". | |
| cursor | No | `nextCursor` from a previous call, to fetch the next (older) page. | |
| categories | No | Keep only these categories: "storage" (pool, disks, cache, scrubbing), "settings" (snapshots, backups, file services…), "activity" (sign-ins, file and user changes). Overrides the default exclusion of sign-ins when it names activity. | |
| severities | No | Keep only these severities, e.g. ["high","very_high"]. Default: all. | |
| include_access | No | Include sign-ins (userAccess) and file activity when no `types` or `categories` are given. Defaults to false. |