Friday, August 4, 2017

Topic 12. Mikrotik Router Mikrotik Hotspot Logging MikroTik with Remote Syslog

Mikrotik Router Mikrotik Hotspot Logging MikroTik with Remote Syslog

Still around MikroTik router integration with external applications, this time we will try to do MikroTik configuration to send remote log activity. MikroTik itself has actually developed an application that is MTSyslog. Examples of the configuration we have also done in the previous article here . And now we will try how to use syslog on linux, in this article we use Ubuntu distro.

On linux (ubuntu) by default also has an application for monitoring log system. The application is rsyslog . But if there is no application we can install it first. To install can use linux terminal and type command line,

$ Sudo apt-get install rsyslog

Once installed we can configure both the MikroTik Router and the linux rsyslog application.

The first step, we will find the configuration on MikroTik first. In Mikrotik by default if we want to see the log system then we can enter on the menu ' Log'. And there will be displayed information about the activity or system process that is in the router. Well, here we will use rsyslog application from linux device to see all information from system router process.

Mikrotik Router Mikrotik Hotspot Logging MikroTik with Remote Syslog


For configuration on MikroTik router, we setting on System menu -> Logging-> Tab ' Actions ' -> Click Add [+] . 

Mikrotik Router Mikrotik Hotspot Logging MikroTik with Remote Syslog

In the Type parameter select the ' Remote ' option, then specify also on the Remote Address parameter with the IP Address of rsyslog linux. For other parameters can be left default.

Then we will create a new topic that we will send the information remotely. To configure the same menu select on the ' Rules ' tab and for example we will create the topic ' Info ' and ' Web Proxy ' which information we will send to rsyslog.

In this configuration we specify on the ' Topics ' parameter with the option we will want the information. Then in the ' Action ' parameter we specify with the pre-made action log in the remote tab. 


Mikrotik Router Mikrotik Hotspot Logging MikroTik with Remote Syslog


If seen in the list of rulenya it will appear as follows:

Mikrotik Router Mikrotik Hotspot Logging MikroTik with Remote Syslog



If the above configuration is done we will do the configuration on rsyslog in linux. This configuration is done so that between mikrotik and rsyslog can integrate with each other. For configuration we do through Terminal Linux by editing the file:

$ Sudo nano /etc/rsyslog.conf

And later will appear as follows. 

Mikrotik Router Mikrotik Hotspot Logging MikroTik with Remote Syslog



The script we will edit is:

# Provides UDP syslog reception
# $ ModLoad imudp
# $ UDPServerRun 514

Then remove the sign ( # ) to,

# Provides UDP syslog reception
$ ModLoad imudp
$ UDPServerRun 514

And add also the file with the script:

#For MikroTik Integration
: Fromhost-ip, isequal, "192.168.128.104" /var/log/mikrotik1.log

Next save the file we have edited above with Ctrl + O. Well, from this step the configuration of both is finished. To check the results can be done using linux terminal by typing command:

$ Tail -r /var/log/mikrotik1.log

Or through the SYSTEM LOG application. 

Mikrotik Router Mikrotik Hotspot Logging MikroTik with Remote Syslog



And the results when viewed using the System Log application as follows.

Mikrotik Router Mikrotik Hotspot Logging MikroTik with Remote Syslog



The SYSLOG app

Actually has many developed applications used to monitor the log of a system. Of the many syslog applications there are paid and some are free , we live choose the type of application in accordance with existing needs.

Below is an example of KIWI Syslog Free Version application. 

Mikrotik Router Mikrotik Hotspot Logging MikroTik with Remote Syslog



With the application of syslog external is an alternative to save resource from MikroTik Router. 


mikrotik
mikrotik winbox
mikrotik routerboard
mikrotik hotspot
mikrotik indonesia
mikrotik default password
mikrotik port forwarding
mikrotik routeros
mikrotik hap lite
mikrotik firewall
mikrotik router
mikrotik bandwidth test
mikrotik bridge
mikrotik bonding
mikrotik backup
mikrotik bgp
mikrotik bandwidth management
mikrotik block youtube
mikrotik basebox 2
mikrotik bandwidth test server
mikrotik basebox 5
mikrotik download
mikrotik dude
mikrotik dhcp server
mikrotik dns server
mikrotik ddns
mikrotik dhcp relay
mikrotik dual wan
mikrotik dns
mikrotik disc lite5
mikrotik export config
mikrotik eoip
mikrotik exploit
mikrotik emulator
mikrotik eoip tunnel
mikrotik ecmp
mikrotik ebook
mikrotik exam
mikrotik enable fasttrack
mikrotik ether boot
mikrotik forum
mikrotik firmware
mikrotik firewall rules
mikrotik fasttrack
mikrotik factory reset
mikrotik failover
mikrotik forward port
mikrotik fastpath
mikrotik freeradius
mikrotik groove
mikrotik groove a-52hpn
mikrotik gre tunnel
mikrotik gateway
mikrotik graphs
mikrotik gpon
mikrotik gns3
mikrotik guest wifi
mikrotik gui
mikrotik gpon olt
mikrotik hap ac
mikrotik hex
mikrotik hotspot login page
mikrotik hap ac lite
mikrotik hotspot setup
mikrotik hap
mikrotik hotspot redirect
mikrotik hex lite
mikrotik ipsec
mikrotik ip address
mikrotik ipv6
mikrotik iso
mikrotik ipsec vpn setup
mikrotik interface list
mikrotik indo
mikrotik india
mikrotik ip
mikrotik jogja
mikrotik jobs
mikrotik jual
mikrotik jakarta
mikrotik java api
mikrotik jump
mikrotik json
mikrotik jaringan
mikrotik jitter test
mikrotik jump rule
mikrotik kungfu
mikrotik kvm
mikrotik keepalive timeout
mikrotik keygen
mikrotik key
mikrotik kenya
mikrotik karachi
mikrotik kaskus
mikrotik kernel failure
mikrotik key generator
mikrotik login
mikrotik load balancing
mikrotik license
mikrotik lhg 5
mikrotik l2tp
mikrotik login page
mikrotik lte
mikrotik logo
mikrotik load balancing 2 wan
mikrotik lte modem
mikrotik mum
mikrotik mesh
mikrotik manual
mikrotik metal 2shpn
mikrotik mpls
mikrotik masquerade
mikrotik mangle
mikrotik master port
mikrotik metal
mikrotik map
mikrotik netinstall
mikrotik nat
mikrotik ntp server
mikrotik netflow
mikrotik netwatch
mikrotik netmetal 5
mikrotik ntp
mikrotik netinstall download
mikrotik nv2
mikrotik nat setup
mikrotik openvpn
mikrotik os
mikrotik ospf
mikrotik openvpn client
mikrotik openvpn setup
mikrotik omnitik
mikrotik openvpn udp
mikrotik openwrt
mikrotik outdoor access point
mikrotik openflow
mikrotik password recovery
mikrotik password
mikrotik poe switch
mikrotik philippines
mikrotik poe
mikrotik packages
mikrotik pppoe server
mikrotik products
mikrotik pcq
mikrotik qos
mikrotik queue
mikrotik qos voip
mikrotik quickset
mikrotik qrt 5
mikrotik qos script
mikrotik qrt 2
mikrotik queue types
mikrotik quick setup
mikrotik queue not working
mikrotik rb750
mikrotik rb951ui-2hnd
mikrotik rb2011
mikrotik rb951g-2hnd
mikrotik rb450g
mikrotik router configuration
mikrotik rb750gr3
mikrotik switch
mikrotik sxt lite5
mikrotik script
mikrotik sxt
mikrotik software
mikrotik support
mikrotik setup
mikrotik simple queue
mikrotik snmp
mikrotik swos
mikrotik tutorial
mikrotik training
mikrotik the dude
mikrotik torch
mikrotik traffic flow
mikrotik traffic monitor
mikrotik thailand
mikrotik transparent proxy
mikrotik trunk port
mikrotik traceroute
mikrotik user manager
mikrotik upnp
mikrotik update
mikrotik usb modem
mikrotik uptime
mikrotik ups
mikrotik user meeting
mikrotik usb
mikrotik use service tag
mikrotik uk
mikrotik vpn
mikrotik vlan
mikrotik vpn client
mikrotik vs cisco
mikrotik vs ubiquiti
mikrotik vs pfsense
mikrotik vrrp
mikrotik vpn setup
mikrotik vrf
mikrotik vlan routing
mikrotik wiki
mikrotik wireless
mikrotik wap ac
mikrotik web proxy
mikrotik wap
mikrotik winbox port
mikrotik winbox loader
mikrotik wds
mikrotik wireless bridge
mikrotik x86
mikrotik x2 routerboard 1100 ah
mikrotik x86 cracked
mikrotik x2
mikrotik x86 vmware
mikrotik x86 install
mikrotik xr5
mikrotik x64
mikrotik xenserver
mikrotik x86 license
mikrotik youtube
mikrotik youtube block
mikrotik youtube bandwidth
mikrotik youtube address list
mikrotik yogyakarta
mikrotik yang cocok untuk hotspot
mikrotik youtube layer 7
mikrotik yang bagus
mikrotik youtube mangle
mikrotik yota
mikrotik zabbix
mikrotik zero handoff
mikrotik zone based firewall
mikrotik zabbix agent
mikrotik zabbix template
mikrotik zte modem
mikrotik zte
mikrotik zte mf190
mikrotik zenoss
mikrotik zte mf823
mikrotik 0.0.0.0
mikrotik 0.0.0.0 torch
mikrotik 0.0.0.0 bad router address
mikrotik 0.0.0.0 timeout
mikrotik ip 0.0.0.0
mikrotik tr-069
mikrotik level 0
mikrotik pptp-0 waiting for call
mikrotik chain 0 chain 1
mikrotik vlan 0
mikrotik 1100
mikrotik 1100ahx2
mikrotik 1036
mikrotik 1009
mikrotik 1072
mikrotik 10g switch
mikrotik 1200
mikrotik 10g
mikrotik 1016
mikrotik 1 to 1 nat
mikrotik 2011
mikrotik 2 wan load balancing
mikrotik 2011uias
mikrotik 260gs
mikrotik 2 wan
mikrotik rb260gsp
mikrotik 2 wan 2 lan
mikrotik 2 isp
mikrotik 24 port switch
mikrotik 2shpn
mikrotik 3011
mikrotik 3g
mikrotik 3g router
mikrotik 3g modem
mikrotik 3011 review
mikrotik 3100
mikrotik 3g setup
mikrotik 3g modem setup
mikrotik rb3011uias
mikrotik 30dbi dish
mikrotik 4g router
mikrotik 450
mikrotik 4 wan load balancing
mikrotik 433
mikrotik 411
mikrotik 493g
mikrotik 4g setup
mikrotik rb433ah
mikrotik 4g usb
mikrotik 5ghz
mikrotik 5.20
mikrotik 5.20 licence key
mikrotik 5.26
mikrotik 5.20 iso
mikrotik 52hpn
mikrotik 5.20 cracked
mikrotik 5shpn
mikrotik 5.18
mikrotik 5hnd
mikrotik 60 ghz
mikrotik 6.32 crack
mikrotik 6 license key
mikrotik 6.39
mikrotik 6.38 crack
mikrotik 6to4
mikrotik 6.38.5
mikrotik 6.39.1
mikrotik 6.38
mikrotik 6.33 crack
mikrotik 750
mikrotik 750gl
mikrotik 750gr3
mikrotik 750g
mikrotik 750gr2
mikrotik rb750up
mikrotik 751
mikrotik rb750r2
mikrotik 750 price
mikrotik 7
mikrotik 850g
mikrotik 802.1x
mikrotik 802.11ac
mikrotik 850
mikrotik 850g price
mikrotik 802.1x ethernet
mikrotik 802.3ad
mikrotik 802.3af
mikrotik 8 port switch
mikrotik 802.11r
mikrotik 951
mikrotik 951ui-2hnd
mikrotik 951g
mikrotik 941
mikrotik 912
mikrotik 900mhz
mikrotik 962
mikrotik 952
mikrotik 911
mikrotik 921

No comments:

Post a Comment