It was not that easy for me because the .id appeared not correct so I had a search and a peek at a other script:
http://forum.mikrotik.com/t/monitor-mikrotik-log-by-telegram/133039/3
My version now is compact and display the field requested it is buffered in array:
:foreach i in=[:toarray [/log find time>([/system clock get time]-15m)]] do={:put [/log get $i message ]};
display only the message
:foreach i in=[:toarray [/log find time>([/system clock get time]-15m)]] do={:put [/log get $i ]};
displays the lot
How did you solve the problem with the .id ?
Update: also filtering on the topics “script”:
:foreach i in=[:toarray [/log find time>([/system clock get time]-15m) && topics~"script"]] do={:put [/log get $i message ]};