Actions67
- Interface Actions
- Firewall Address List Actions
- IP Pool Actions
- ARP Actions
- DHCP Server Actions
- IP Address Actions
- Hotspot Actions
- Queue Simple Actions
- Wireless Actions
- System Actions
- System Clock Actions
- System Identity Actions
- System Script Actions
- System Scheduler Actions
- IP Service Actions
- Netwatch Actions
- Log Actions
- Custom Command Actions
Log → Get All
AI-generatedSummary
Retrieves all log entries from the MikroTik device, optionally filtered by topic and/or message regex.
Inputs
- logTopic — Filter log entries by topic (e.g. system, info). Passed as ?topics parameter to the API.
- logMessage — Filter log entries by message content using a regex pattern. Passed as ~message parameter to the API.
- options — Optional connection and response formatting settings.
Output shape
Array of log entry objects returned by the MikroTik /log/print API command. Each entry contains properties such as time, topics, and message. Count reflects total entries retrieved.
If the 'cleanKeys' option is enabled, all hyphens (-) and forward slashes (/) in property keys are replaced with underscores (_) before being returned to the workflow.
Examples
Example 1: Fetch all system log entries
Set logTopic to 'system' and leave logMessage empty.
Example 2: Fetch logs matching a regex in the message
Set logMessage to a pattern like 'error' or 'critical' while leaving logTopic empty.