Home > MikroTik Router > MikroTik WebProxy Log Analyzer Configuration

MikroTik WebProxy Log Analyzer Configuration

MikroTik RouterOS generally logs various system events and status information. Logs are saved in routers memory (RAM), disk, file, sent by email or even sent to remote syslog server. All logs those are saved in Router’s local memory can be viewed from Log menu and any log entry contains time and date when event occurred, topics that this message belongs to and message itself. But local log information is not enough for analyzing user’s activity. For this, we will configure a remote syslog server named WebProxy Log Analyzer where we’ll get our desired information.

WebProxy Log Analyser Pie Chart

WebProxy Log Analyser Pie Chart

WebProxy Log Analyzer is a windows based syslog server. So, there are two end configuration for configuring a WebProxy Log Analyzer server.

  1. MikroTik End Configuration for sending log information to WebProxy Syslog Server.
  2. Webproxy Log Analyzer configuration in windows operating system.

MikroTik Configuration for Sending Log Information

MikroTik Router basic configuration and transparent web proxy configuration are the prerequisites for configuring a WebProxy Log Analyzer syslog server. If you are new here, please spend some time to study and configure MikroTik Router Basic Configuration using Winbox and MikroTik Router Web Proxy Configuration and then continue the rest of the article.

Now we’ll configure MikroTik Router so that it can send log information to WebProxy Log Analyzer syslog server. For this follow below steps:

  1. Go to System > Logging > Action Tab > click add (+) button.
  2. Type action name what you like in Name field (example: Webproxy) and choose remote from Type dropdown menu.
  3. Put Windows OS IP address (example: 192.168.20.20) where WebProxy Log Analyzer will be installed in Remote Address field and Remote Port leave as default port 512 and then click Apply and OK button.
  4. Now click on Rules tab and add a new rule by clicking on PLUS (+) sign.
  5. Choose web-proxy from Topics drop-down menu and type Prefix as you want such as Proxy and then choose the action that you created from action tab (here, Webproxy). Click Apply and OK button.

MikroTik Router side configurations are now complete. MikroTik Router will now send all Web Proxy Logs to the WebProxy Log Analyzer syslog server. So, now we will configure the WebProxy Log Catcher which will catch all the logs those are sent by the MikroTik Router.

Webproxy Log Analyzer Configuration in Windows OS

Now we will install and configure WebProxy Log Analyzer in Windows Operating System. First download WebProxy Log Setup (.exe) file from this link. After completing download, click on the (.exe) setup file to start installation and follow the instructions to complete the whole installation process and then do below steps to do general settings:

  1. Go to Settings > General menu.
  2. Enter IP address (here, 192.168.20.20) that we entered in MikroTik Router, UDP Port 512 and Buffer 400.
  3. Write log to: Select a folder where you want to save your logs or leave it as default.
  4. Import from: Select a folder from where you want to import logs or leave it as default.
  5. DB Location: No need to change it. Leave it as default.

After few moments it will create a log file in your selected folder and WebProxy Log will be stored in this file. Now we will import this files to see log reports with WebProxy Log Analyzer. For this do the below steps:

  1. If you left default settings, you will see two folders are created in WebProxy Log  folder. One is Current Logging where the current logs will be stored and another is Logs. Go to File > Import logs. Import Logs window will be appeared now.
  2. Now browse the Current Logging folder by clicking Browse button and click Import button and then click Optimize button.
  3. Now go to Settings > IP aliases and click Plus (+) to add a user. As soon as a row will be created. Now put user’s IP in IP address column and user’s name in Alias column and repeat this steps for all your LAN users. Alternatively, you can click From DB button and all available IP will be listed. If you don’t put user’s IP address and Alias here, you will not be able to track that user activity with WebProxy Log Analyzer.
  4. Now select the user whose activity you want to track from Select user drop-down menu and select date ranges from the calendar and then click Generate button to see report.
  5. You can also see various pie chart from the Reports menu.

WebProxy Log Analyzer installation and configuration is now complete. Now you can see your users browsing information with this log analyzer software so easily and can track your user activity.

MikroTik Router WebProxy Log Analyzer configuration has been explained step by step in this article. I hope, you are now able to configure such a Log server so easily. If you face any problem to configure this server, please contact with from Contact page. I’ll try my best to stay with you.

mikrotik-webproxy-log-analyzer-configuration

ABOUT ME

I, Md. Abu Sayeed, am a system administrator. I like to share knowledge which I am learning from my daily experience. As a system administrator, I like to play with computer networking, Redhat Linux , Windows server, physical server and storage, virtual technology and other system related topics. I hope, my daily experiences which I am sharing in this website will be beneficial for you. This article is also a practical experience of mine. So, if this article is helpful for you, don't forget to give a positive feedback by sharing on your favorite social media or liking our Facebook Page. You can also keep subscribed to our website for getting email notification of new post by providing your name and email address in Subscription Page.   

2 comments

Leave a Reply

Your email address will not be published. Required fields are marked *