21.2 Settings for statistics and quota
Prev | Chapter 21 Kerio StaR — statistics and reporting | Next

## 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. If you do not wish to use statistics, it is possible to disable them (this will increase processor's performance and save disk space of the WinRoute 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.

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 Gather Users' Activity records option enables gathering of detailed information about activity of individual users (visited web sites, transferred files, etc. — see chapter 21.7 Users' Activity). If is not necessary to gather these statistics, it is recommended to disable this option (this reduces demands to the firewall and avoids creating of needless files on the disk).

  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).

  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). For details, see chapter 21.4 Accounting period.

  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.1 Viewing and definitions of user accounts and 11.3 Status information and user statistics).

  Note: Setting of accounting period does not affect log rotation — rotation is bound to weeks or months (for details, 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.

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 Intervals.

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).

  Wildmarks 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.

Prev | Up | Next
21.1 Monitoring and storage of statistic data | Contents | 21.3 Connection to StaR and viewing statistics