Friday, January 8, 2016

How to Save Mikrotik Logs to Remote ¨Syslog Server¨

syslog is a widely used standard for message logging. It permits separation of the software that generates messages, the system that stores them, and the software that reports and analyzes them.
Computer system designers may use syslog for system management and security auditing as well as general informational, analysis, and debugging messages. A wide variety of devices, such as printers and routers, and message receivers across many platforms use the syslog standard. This permits the consolidation of logging data from different types of systems in a central repository. Implementations of syslog exist for many operating systems.
Each message is labeled with a facility code, and assigned a severity label. The facility code indicates the software type of the application that generated the message.
The destination of messages may be directed to various destinations, tuned by facility and severity, including console, files, remote syslog servers, or relays.
Most implementations provide a command line utility, often called logger, as well as a link library, to send messages to the log.
Some implementations include reporting programs for filtering and displaying of syslog messages. 
You Can Use Different Syslogs Servers

/system logging action
set 3 bsd-syslog=yes remote= syslog-facility=local0
/system logging
add action=remote topics=info
add action=remote topics=hotspot
add action=remote topics=interface
add action=remote topics=pppoe
add action=remote topics=warning
add action=remote topics=error


  1. Replies
    1. local pc mein b ker skte hn ..ya kisi or jaga remote base pe b ker skte hn

  2. aoa Bro is ip ki jahga hum kya ip de ge jab ke hamari local ip hai

    1. jis jaga pe save kerna hai os ka ip dena ho ga

  3. This comment has been removed by the author.

  4. This comment has been removed by the author.

  5. Web log b save skty Hain ? Our kaisy

  6. kisi or sys main kase save kar sakty hain

  7. Hamza khalil brother log server ka complete solution do please,.........

    1. brother koi new method btaiyeeeeeeeeeeeeeeeeeeeeeeee.

    2. Mikrotik ka log save kerne ka yhi method hai....
      just remote servers koi b use ker lain ... (Mikrotik log ha ye bs)

  8. bhai maine ap se 1 sawaal pouchna hai k yr maine dream intenet se fiber pr link liya howa hai or meray pass 24mbps speed hai or mikrotik routerboard pr mera server bana howa hai pppoe or bhai masla yeh arha hai k download jab mai local server dream net jo hai mikrotik se jab mai connect hokr yeh server se downloading kr rha hu tou kbps mai downloading arhe hai jab k yeh tou 1 local sharing server hai nah dream network ka is tou mbps mai downloading ani chaahiye or bhai maine direct tplink pr downloading se checck ki hai tou 1mbps se ly kr 10mbps tak downloading arhe hai so please help me brother...