FlashStats logo
Contents - Previous chapter - Next chapter

Defining web sites

Introduction

FlashStats 2005 lets you analyze log files from as many different web sites as you would like.  Simply define each web site separately within FlashStats, then switch among them as you want to work with them.  You can only have one web site open for analysis at a time.

A "web site" defined within FlashStats consists of the following:

Setting web site properties

You can change your web site settings with the Web site properties window. This window is displayed when you open the Web site menu and either choose New... to create a new web site or choose Properties... to edit the properties for the currently open web site.

Web site properties

General properties

The General tab contains the following fields:

File types

FlashStats needs to know about each type of file used on your web site so that it can add each hit to the appropriate report (Top Page Views, Top Images, Top Downloads, etc). Files are categorized based upon their extension.

For each file extension that it might encounter, FlashStats needs to know what type of file it represents. In addition, FlashStats needs to know if the file extension could be used by a script on your web site. For example, the extension .htm is usually used to indicate an HTML web page; FlashStats calls this file type a Page. Scripts usually do not use an .htm extension, so by default FlashStats is configured so that .htm files cannot be scripts. Likewise, files with an extension of .jpg are considered to be files of type Image, and cannot be scripts. Files with an extension of .cgi or .pl are almost always scripts, so their default file type is Script.

For each hit that it analyzes, FlashStats assigns the file type which matches the file's extension. However, if the file type been defined that it can be a script and the hit request also includes a question mark (used by some scripts), then the hit will be considered to be of type Script.

The table below shows some examples of various ways to configure some common file types and how FlashStats would treat matching requests. (Keep in mind that each extension can be defined only one way at any given time; the table includes multiple combinations of values only to show what would happen under different configurations.)

Extension File type Can be script? File requested Resulting type and reason
.asp Page Yes /default.asp Page (used file type, no question mark)
.asp Page No /default.asp Page (used file type)
.asp Page Yes /default.asp?id=1234 Script (found "?", can be script)
.asp Page No /default.asp?id=1234 Page (cannot be script)
.asp Script Yes (always) /scripts/register.asp Script (used file type, no "?" needed)
.jpg Image Yes /images/webbug.jpg?id=1234 Script (found "?", can be script)
.jpg Image No /images/webbug.jpg?id=1234 Image (cannot be script)

You can use the File types tab to configure the types of files used on your web site. You can easily modify this list by using the Add..., Edit..., and Delete buttons to make any desired changes.

You can click the Defaults... button to display a window which will help you to choose sets of commonly-used file types.

Tip: By default, when you define a new web site, FlashStats will use a large list of common file types. You can improve FlashStats' performance by deleting unnecessary file type definitions.

Special paths

When analyzing log files, FlashStats categorizes each hit based upon the file type definitions discussed above. However, sometimes you may need to tell FlashStats that certain files are of a different file type than would normally be the case. You can use the Special paths tab to define any such special cases.

The Special paths tab is a good place to list attack paths. A good strategy is to view a Top Other Files report, and add anything that looks suspicious to the Special paths tab as an attack.

Here is a list of common attacks that you may want to define:

For example, the file extension .exe is defined to be of type Download by default. However, you may also run some scripts on your web site which are implemented in .exe files in the /scripts directory, so requests for those scripts should show up on the Top Scripts report rather than the Top Downloads report. To solve this problem, you could define a special path where /scripts/*.exe is defined to be of type Script.

Global settings

In addition to these values defined for each web site, FlashStats also has some "global" values which are defined for use by all web sites.  See the Global settings chapter for more information on configuring these global options.


Beta 9
Last modified: 11/15/05