Dear
All
I have problem with my Radius because it have 2 Millions of logs but i don't know how I can remove/delete because the only way that i know if one by one, this process isn't good to me.- For this reason I request to you the help, maybe you know any script to execute and delete automatically this logs that I have under user-manager session at the same time I have more logs under /tools user-manager logs but I don't know if the same information.
My request is: Did you know any script that can remove this log, please
I read on internet on the next link the follow information: http://forum.mikrotik.com/viewtopic.php?f=10&t=21214
CLEAR USERMAN LOG SCRIPT:
:local Flag
:set Flag [/tool user-manager log find]
:if ([:len $Flag] > 0) do={/tool user-manager log print append file log;/tool user-manager log remove [/tool user-manager log find];}
BUT WHEN I EXECUTE THE BELOW SCRIPT, NOT WORK FINE I GET THE NEXT ERROR:
:set Flag [/tool user-manager log find]
syntax error (line 1 column 13)
I don't know if the problem is that when the other user made the below script used the other mikrotik OS version.
Thank you, please send me your comments.
Best regards.
mark