Today I was in a requirement to clear the Mikrotik LOG window and clear all the commands from the Terminal console history dueto some security and privacy reason. Since I couldn’t found a simple command base method to clear LOG window, I followed a workaround and it worked like a charm.
▼
CLEAR Mikrotik LOG WINDOW HISTORY [Jz]
/system logging action set memory memory-lines=1
It will delete all previous entries.
/system logging action set memory memory-lines=100
It will change it back to the default number of lines. or let it set to 1 , if you dont want any info, which is not recommended in any case 🙂
CLEAR Mikrotik TERMINAL CONSOLE HISTORY [Jz]
In newer version of mikrotik 6.x, you can clear console commands by using
console clear-history
Note: Sticking with newer firmware (but surely stable one) is always a Good idea so that you stay safe and secure with lots of new features 🙂
However I really wish that Mikrotik can add an “CLEAR ALL LOGS” button in the future 😉
▼
Regard’s
Syed Jahanzaib
hello >> i just want to ask about if there is a kind of rule to put in mikrotik in order to block bad hosts .. or to block the hosts that are trying to login many times using bad usernames … plz thx
LikeLike
Comment by mahmoud khuffash — March 17, 2014 @ 7:22 PM
is it hotspot or pppoe?
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — March 18, 2014 @ 9:05 AM
Pls can I call you on phone to discourse a project with you on RB1100 AHx2 or is mail ok. can you setup RB1100AHx2 for me if it runs on a public IP
smile always
LikeLike
Comment by adejumokojo — August 4, 2014 @ 3:43 PM
Hello ! Please, I want to clear an history for one user, not a console history but an action historik by graphic mode (with winbox)
LikeLiked by 1 person
Comment by GAYA — December 20, 2015 @ 6:06 AM
not possible.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — December 21, 2015 @ 7:09 PM
suggest me how to delete history of
(“system->users->active users”) after winbox logout also history stored in “active users” tab
with name, date, from IP via winbox …. so suggest me how to clear those history from “ACTIVE USERS” tab….. Thank you
LikeLike
Comment by shivakanth — March 3, 2018 @ 2:54 PM
me estoy qudando sin espacio en mmi mikrotik lhg 5 que hacer??
LikeLike
Comment by daniel — September 21, 2018 @ 10:10 AM
,
I have this error displaying on log window “Running out of disk space, when minimum 500kb is reached UM will be stopped!” Can’t figure out how to turn it off or fix it. Googled everywhere, didn’t find anything. Will appreciate if anyone could hint how to disable it or fix it.
LikeLike
Comment by daniel — September 21, 2018 @ 10:12 AM
just using external disk like FD, HDD , SD card
LikeLike
Comment by Sekadau Kita — May 22, 2019 @ 9:12 PM