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.
- MikroTik part - Config for remote Syslog Server.
- Syslog Server Part - Webproxy-Log config on Windows Machine (XP, 7, 8 or 10).
MikroTik Part
- Login to your MikroTik router with Winbox (Skip step 2-6 if you have already enable web proxy in transparent mode)
- Goto IP -> Web Proxy and Click Enable then Click OK (Web Proxy Enabled :-) )
- Now goto IP -> Firewall -> NAT and Click Plus (+)
- On General Tab
- Chain : dstnat
- Src Address : 192.168.88.0/24 (This my LAN IP Network, Enter yours)
- Protocol : 6(tcp)
- Dst Port : 80
- On Action Tab
- Action : redirect
- To ports : 8080
- Click Ok
- Now goto System -> Logging
- On Action Tab Click (+)
- On Open Log Action window Enter
- Name : webproxylogs,
- Type : remote
- Remote Address : 192.168.88.253 (In my case IP address of syslog Server)
- Click OK
- Now Click on Rules tab and then Click (+)
- on New Log Rule window Enter
- Topic : web-proxy
- Prefix : Proxy
- Action : webproxylogs (This is created in step 9 above)
- That all for MikroTik part
Download the Webproxy-log and Install it on your Windows machine
- Double click the Webproxy-log icon on windows desktop after installation completes
- This will open up WebProxy Log Catcher Configuration
- Enter the IP Address : 192.168.88.253, Buffer : 400, Set the Logging Locations : any Folder on your windows system
- Click OK
- Now the WebProxy Log will open up
- Goto Setting -> General
- On the General Setting windows just check the setting and click OK
- Now Click File - > Import Log
- Browse to the Log folder and Select it and Click Import. You will see a message
- Now Click Reports -> Top 10 Servers
- This will show you the Top 10 Server in Pi Graph chart
- 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
Post a Comment