Read system log
mikrotik_logsRead recent RouterOS system log entries, optionally filtered by topic or message text, to inspect router or switch events and diagnose issues.
Instructions
Read the most recent system log entries, optionally filtered by topic or text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of newest entries (default 100). | |
| device | No | Name of the configured device. Defaults to the first device (see mikrotik_list_devices). | |
| topics | No | Only entries whose topics contain this, e.g. "firewall", "dhcp", "error". | |
| contains | No | Case-insensitive text search in the message. |