Home > Support > Documentation > Kernun Reporter
Kernun Reporter (KR) consists of a piece of powerful hardware with pre-installed operating system (FreeBSD 7.1), database engine (MySQL 5.0), web server (Apache 1.3) and log analytics software (Sawmill 8.0). Its purpose is to gather logs of Kernun products or even other software, store them to database and let them analyze with a number of sophisticated reports.
The following steps are required to configure Kernun Reporter system:
a) When KR is switched on and boots, MySQL, Apache and Sawmill are up and running. Use one of the two ethernet ports and connect it to local network. Log on the console (use the superuser "root" as login name and empty password) and set up an IP address of the system. For detailed description, see FreeBSD Handbook (find the link at the end of this page).b) Sawmill software license must be entered in order to use the software. Use any web browser and load the main page of KR system. For example, if the IP address used in step a) was 192.168.1.100, enter "http://192.168.1.100/" in your browser. Browser gets redirected to the Sawmill CGI script and the Sawmill welcome page renders.
c) Click Next, and the License Agreement appears. Read it thorougly. If you choose to accept it, click on the corresponding radio button and then Next.
d) Now, enter the Sawmill license into the box titled "Enter a license key". You may choose to get a trial license in this step, and enter the license key later. Click Next.
e) Enter the username and password of Sawmill administrator. The same password must be typed twice. Click Next and then Finish.
f) Sawmill login page appears. Enter the username and password set up in step e).
g) Upon logging, you will see title menu at the top of the page. Use link named Licensing to enter your license key if you have chosen to get a trial license in step d).
Now, your Sawmill software is initialized. You need to create some profiles in order to use it. Profile is a combination of a log format and log source. The next section will show you how to create a basic Kernun Net Access profile. For more information on profiles and their types, see Sawmill documentation (find the link at the end of this page).
The following steps are required to create a Kernun Net Access profile and view data reports in Sawmill:
Assign a root password for MySQL database. Follow instructions on page http://dev.mysql.com/doc/refman/5.0/en/default-privileges.html in the section named "root Account Password Assignment".
Using the scp command, or similar, copy a kernun log file from the Kernun Net Access system to the local disk of Kernun Reporter. It is not matter whether you copy a raw log file (e.g. /var/log/kernun) or bzipped file (e.g. /var/log/kernun.0.bz2) or whether you copy a single file or several files. Let's assume you copy the file kernun.0.bz2 to the local directory /var/data/.
As new data in the log files grows you may need to update the content of the profile database. You can use one of these options: