Syed Jahanzaib – Personal Blog to Share Knowledge !

December 19, 2013

Howto clear Mikrotik Log/History

Filed under: Mikrotik Related — Tags: , , — Syed Jahanzaib / Pinochio~:) @ 10:30 AM

No-log

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

9 Comments »

  1. 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

    Like

    Comment by mahmoud khuffash — March 17, 2014 @ 7:22 PM

  2. 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

    Like

    Comment by adejumokojo — August 4, 2014 @ 3:43 PM

  3. Hello ! Please, I want to clear an history for one user, not a console history but an action historik by graphic mode (with winbox)

    Liked by 1 person

    Comment by GAYA — December 20, 2015 @ 6:06 AM

  4. 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

    Like

    Comment by shivakanth — March 3, 2018 @ 2:54 PM

  5. me estoy qudando sin espacio en mmi mikrotik lhg 5 que hacer??

    Like

    Comment by daniel — September 21, 2018 @ 10:10 AM

  6. ,
    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.

    Like

    Comment by daniel — September 21, 2018 @ 10:12 AM

    • just using external disk like FD, HDD , SD card

      Like

      Comment by Sekadau Kita — May 22, 2019 @ 9:12 PM


RSS feed for comments on this post. TrackBack URI

Leave a comment