Learn MikroTik RouterOs Tutorial Series (english)
In this tutorial you will learn how to configure your router to send log files to your email.
A delay was added to the script to ensure that the log file is fully created before attaching to the email.
--------------
/log print file=logs
delay 10
/tool e-mail send to="
[email protected]" subject="$[/system identity get name] logs" \
body="$[/system clock get date] log file" file=logs.txt