Get Log
get_logRead and filter the system log from a MikroTik router using topic, message prefix, and time window filters.
Instructions
Read and filter the system log from a MikroTik router. Supports filtering by topic, message prefix, and a time window (last N minutes) measured against the router's own clock. Entries with unparseable timestamps are included conservatively.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return. | |
| offset | No | Pagination offset. | |
| prefix | No | Substring to match against the log message | |
| topics | No | Filter entries whose topics field contains any of these strings (e.g. ["firewall", "dhcp"]) | |
| routerId | No | Router ID; omit to use the default router. | |
| sinceMinutes | No | Only return entries from the last N minutes (1–1440), measured against the router's clock |