21.2  Settings for statistics and quota

Under certain circumstances (too many connected users, great volume of transmitted data, low capacity of the WinRoute host, etc.), viewing of statistics may slow WinRoute and data transmission (Internet connection) down. Be aware of this fact while opening the statistics. Therefore, WinRoute allows such configuration of statistics that is customized so that only useful data is gathered and useful statistics created. It is also possible to disable creation of statistics if desirable. This would save operation space of WinRoute as well as the disk space of its host.

Statistics settings also affect monitoring of volume of transferred data against user quota (refer to chapters 15.1  Viewing and definitions of user accounts and 20  Basic statistics).

Use the Statistics / Quota tab in Configuration → Accounting to set gathering of statistical data and accounting periods for quota and statistics.

Setting of statistics and accounting periods

Figure 21.1. Setting of statistics and accounting periods


Enable/disable gathering of statistic data

The Gather Internet Usage statistics option enables/disables all statistics (i.e. stops gathering of data for statistics).

The Monitor user browsing behavior option enables monitoring and logging of browsing activity of individual users. If is not necessary to gather these statistics, it is recommended to disable this option (this reduces demands to the firewall and saves the server's disk space).

You can use the Keep at most... parameter to specify a time period for which the data will be kept (i.e. the age of the oldest data that will be available). This option affects disk space needed for the statistics remarkably. To save disk space, it is therefore recommended to keep the statistics only for a necessary period.

Advanced settings for statistics

The Advanced button opens a dialog where parameters can be set for viewing of statistics in the Kerio StaR interface (see chapter 20  Basic statistics).

Kerio StaR advanced options

Figure 21.2. Kerio StaR advanced options


The Show user names in statistics by... option enables select a mode of how users and their names will be displayed in individual user statistics. Full names can be displayed as first name second name or second name, first name. Optionally, it is also possible to view full names followed by username without or with domain (if Active Directory mapping is used).

Statistics and quota accounting periods

Accounting period is a time period within which information of transferred data volume and other information is gathered. Statistics enable generating of weekly and monthly overviews. In Accounting Periods, it is possible to define starting days for weekly and monthly periods (for example, in statistics, a month can start on day 15 of the civil month and end on day 14 of the following civil month).

The parameter of first day of monthly period also sets when the monthly transferred data counter of individual users will be set to zero (for monthly quota details, see chapter 15.2  Local user accounts).

Note: Setting of accounting period does not affect log rotation (see chapter 22.1  Log settings).

Statistics and quota exceptions

On the Exceptions tab, it is possible to define exceptions for statistics and for transferred data quota.

This feature helps avoid gathering of irrelevant information. Thus, statistics are kept transparent and gathering and storage of needless data is avoided.

Statistics and quota exceptions

Figure 21.3. Statistics and quota exceptions


Usage of individual exceptions:

Time interval

Define a time period when information will be gathered and included in statistics and quota (e.g. only in working hours). Without this period, no traffic will be included in the statistics and in the quota neither.

For details on time intervals, see chapter 14.2  Time Ranges.

IP addresses

Define IP addresses of hosts which will be excluded from the statistics and to which quota will not be applied.

The selected group may include both local or Internet IP addresses. If any of these IP addresses belongs to the local network, bear in mind that no traffic of the host will be included in the statistics or the quota. In case of addresses of Internet servers, traffic of local users with the server will not be accounted in the statistics or any user quota.

For details on IP groups, see chapter 14.1  IP Address Groups.

Users and groups

Select users and/or user groups which will be excluded from the statistics and no quota will be applied to them. This setting has the highest priority and overrules any other quota settings in user or group preferences.

For details on users and groups, see chapter 15  User Accounts and Groups.

Web Pages

Define a URL group. Connections to web sites with these URLs will not be accounted. Such exception can be used for example to exclude the own corporate web servers from the statistics (connection to corporate websites is usually considered a work-related activity) or to exclude ads   connection to certain pages may download advertisements automatically, it is not the user's request. For this purpose, you can use the predefined URL group Ads/banners (see chapter 14.4  URL Groups).

Wildcards can be used in URL groups items. This implies that it is possible to define exceptions for particular pages or for all pages on a particular server, all web servers in a domain, etc. For details on URL groups, refer to chapter 14.1  IP Address Groups.

URL exceptions can be applied only to unsecured web pages (the HTTP protocol). Connections to secured pages (the HTTPS protocol) are encrypted and URL of such pages cannot be detected.

Note: Unlike in case of exceptions described above, data transferred within connections to such web pages will be included in the quota.