HomeTech HomeTech Author
Title: MikroTik Webproxy Logs Create graphical logs in Mikrotik on Remote Server
Author: HomeTech
Rating 5 of 5 Des:
MikroTik logs various system events and status information. These Logs are saved in routers memory (RAM), disk, file, sent by email or eve...


MikroTik logs various system events and status information. These Logs are saved in routers memory (RAM), disk, file, sent by email or even sent to remote syslog server. All those logs are saved in Router’s local memory can be viewed from Log menu and any log entry contains time and date when event occurred. But these local log info is not enough for analyzing and reports of user’s activity. For make use of report and analysis on logs, we will need to configure a remote syslog server WebProxy Log Analyzer there by giving us the leverage to carryout different analysis of desired information.


WebProxy-Log is a syslog server based on Windows. Webproxy-log requires configuration at two parts.
  1. MikroTik part - Config for remote Syslog Server.
  2. Syslog Server Part - Webproxy-Log config on Windows Machine (XP, 7, 8 or 10).
I assume that you know the basic configuration of MikroTik Router. So lets get to work :)
MikroTik Part

  1. Login to your MikroTik router with Winbox (Skip step 2-6 if you have already enable web proxy in transparent mode)
  2. Goto IP -> Web Proxy and Click Enable then Click OK (Web Proxy Enabled :-) )
  3. Now goto IP -> Firewall -> NAT and Click Plus (+)
  4. On General Tab
    1. Chain : dstnat
    2. Src Address : 192.168.88.0/24 (This my LAN IP Network, Enter yours)
    3. Protocol : 6(tcp)
    4. Dst Port : 80
  5. On Action Tab
    1. Action : redirect
    2. To ports : 8080
  6. Click Ok
  7.  Now goto System -> Logging
  8. On Action Tab Click (+)
  9. On Open Log Action window Enter 
    1. Name : webproxylogs, 
    2. Type : remote
    3. Remote Address : 192.168.88.253 (In my case IP address of syslog Server)
    4. Click OK
  10. Now Click on Rules tab and then Click (+)
  11. on New Log Rule window Enter
    1. Topic : web-proxy
    2. Prefix : Proxy
    3. Action : webproxylogs (This is created in step 9 above)
  12. That all for MikroTik part
Now come to Webproxy-Log part on windows

Download the Webproxy-log and Install it on your Windows machine

  1. Double click the Webproxy-log icon on windows desktop after installation completes
  2. This will open up WebProxy Log Catcher Configuration 
  3. Enter the IP Address : 192.168.88.253, Buffer : 400, Set the Logging Locations : any Folder on your windows system
  4. Click OK
  5. Now the WebProxy Log will open up
  6. Goto Setting -> General
  7. On the General Setting windows just check the setting and click OK
  8. Now Click File - > Import Log
  9. Browse to the Log folder and Select it and Click Import. You will see a message 
  10. Now Click Reports -> Top 10 Servers
  11. This will show you the Top 10 Server in Pi Graph chart
  12. See the Video to more details

Thanks for reading and watching.
Visit my YouTube Channel HomeTech


Please Support my YouTube Channel by liking and subscribing
I spend more time on my YouTube Channel so all comments are replied 101% there
Comments and suggestions are welcome to improve the tutorial and help other

Share Happiness

See the video for more details

Advertisement

Post a Comment

 
Top