Importing Log Files


In this section you will learn how to import files by using BoleroImporter. You have to first make a few changes in the Bolero Settings file, then run Bolero and BoleroImporter. Instructions follow.

Making Changes to the Settings File


Bolero views BoleroImporter as another WebSTAR server. Therefore, you need to set BoleroImporter up as a server in the Web Server Logging subsection of the Bolero Settings file.

In the Web Server Logging subsection of the Settings file, you can either alter one of the default settings, or enter your own for BoleroImporter, as follows:
[WebServerLogging]
myserver1.historical
Now that you have changed the setting in the Web Server Logging subsection, a corresponding entry must be placed in the Web Servers subsection of the Settings file. This entry must identify the location of BoleroImporter (which is considered a Web server) on the network. The name of the Web server application must appear in the entry, as well as a timeout value. The domain name and IP Address parameters should be set with the domain name and IP Address of the server that orginally generated the log file. For example:
[acmeserver1.historical]
DomainName = www.myserver1.com
IPAddress = 255.255.255.255
Type = BoleroImporter
Zone = *
Machine = yourmachinename
Program = BoleroImporter
Timeout = -1

BoleroImporter Settings

BoleroImporter references a text file when importing a WebSTAR log to determine the record format of that log. However, if BoleroImporter encounters a '!!LOG_FORMAT' record while importing the file, this new format will be respected.
You must modify the BoleroImporter Settings file to reflect the record format of any log files you will be importing.

Modifying the Log Format

The log file is in the following format:
[GeneralSettings]
LogFormat = DATE TIME RESULT HOSTNAME URL PATH_ARGS 
SEARCH_ARGS_METHOD BYTES_SENT TRANSFER_TIME AGENT USER 
FROM REFERER

Use a text editor to rearrange the datatypes into the order they appear in your log file.

Using BoleroImporter

After you have modified the Settings file, you can start using BolerImporter.

In the Bolero application folder, double click on the BoleroImporter application.

Launch Bolero if it is not already running.

If Bolero is already running, select Read Settings from the File menu.

Verify in the Bolero Log window that the connection to BoleroImporter was successful.

In this example, you would see the following entry in the log:
Information:Logging Web Server:Acmeserver1.historical

Switch back to BoleroImporter.

Select Import from the File menu.


A dialog box is displayed, where you can choose the log file that you want to send to Bolero.



Click on the file, then click Open.

BoleroImporter then imports the file to Bolero.

Note


You can also import by dragging a file or a folder containing log files on to the BoleroImporter application.

Now this file will be processed through Bolero as if the log entries were coming from a WebSTAR server.

Click here to return to the main Using Bolero page.

Home Page - Reports