다음을 통해 공유


How to Run the Web Server Log Import DTS Task

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Web server log files store data that you obtain when users visit your site and click links to site pages. The data includes the length of time that a user spent visiting your site, referring site, ad clicks, ad reach, click frequency, and the path the user takes through the site, including entry and exit pages.

You use the Web server log import Data Transformation Services (DTS) task to specify which log files to import into the Data Warehouse, and where they are located. The Web log file import DTS task looks for the log files in the specified location, parses them, and applies the properties that you configured for the Web server log import DTS task.

Note

If you are using SQL Server 2005, you must install DTS 2000 Designer and run the Data Warehouse Import Wizard to create a package. You must have already created a package using the Data Warehouse Import Wizard or have existing packages to import before you can perform this task.

To run the Web server log import DTS task

  1. Run the Configuration synchronization DTS task to synchronize your site configuration with the Data Warehouse. For instructions, see How to Run the Configuration Synchronization DTS Task.

  2. If you are using SQL Server 2005, do the following:

    1. Click Start, point to Programs, point to Microsoft SQL Server 2005, and then click SQL Server Management Studio.

    2. In SQL Server Management Studio, in the Object Explorer pane, expand the server on which your Data Warehouse is installed, expand Management, and then expand Legacy.

    3. Right-click the package that contains the task that you want to run, and then click Open.

      If the package that you want to open is not in the list, right-click Data Transformation Services, and then click Open Package File or Import Package File. In the Open DTS 2000 Package or Import DTS 2000 Package dialog box, click the package that you have previously saved and want to open or import, and then click Open.

  3. If you are using SQL Server 2000, do the following:

    1. Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager.

    2. In the SQL Server Enterprise Manager console, in the left pane, expand Microsoft SQL Servers, expand SQL Server Group, and then expand the server on which your Data Warehouse is installed.

    3. Right-click Data Transformation Services, and then click New Package.

      Alternatively, if you are changing an existing package, right-click Data Transformation Services, and then click Open Package. In the Select File dialog box, click the package you want to change, and then click Open.

  4. In the DTS Package or DTS 2000 Package Designer window, on the Task menu, click Web server log import (Commerce Server).

  5. In the Import Web Server Logs Properties dialog box, do the following:

    Use this

    To do this

    Description

    Type a description for the import task.

    Operation level

    Select Site level from the drop-down list.

    Select Data Warehouse level to import the Web server logs for all sites.

    Site

    Select the site that contains the Web server log file that you want to import.

    Log file path

    Type the path of the Web log file that you want to import, or click Log Files to select the Web log files that you want to import from the Web Server Log Files list.

    All logs since last import

    Select this option to import all log files that were created since the last import.

    Logs by data/time range

    Select this option to import only the log files that were created between the Start date/time and End date/time.

    Start date/time

    Type the date and time for the starting of the range from which log files will be imported. This option is available only if you select the Logs by date/time range option.

    The value for this option is stored in the Sitesummary table in the Data Warehouse.

    End date/time

    Type the date and time for the end of the range from which log files will be imported. This option is available only if you select the Logs by date/time range option.

    The value for this option is stored in the Sitesummary table in the Data Warehouse.

  6. In the Retry properties section, do the following:

    Use this

    To do this

    Number of retries

    Type the number of times you want the task to retry connection failures to the Data Warehouse. The default number of retry attempts is 10. To specify the number of times to restart the Web log import process before it continues with the next import process, click Advanced, and then click the Restart tab.

    Seconds between retries

    Type the time in seconds that you want the task to wait between retry attempts. The default time interval is 30 seconds.

  7. In the Import Web Server Logs Properties dialog box, click OK.

  8. On the Package menu, click Execute.

Note

Clicking Execute on the Package menu will execute all tasks associated with the selected package. If you want to execute a specific task, for example the Web server log import task, right-click Web server log import (Commerce Server), and then click Execute Step.

The Executing Package dialog box appears that displays the progress of the import.

See Also

Other Resources

How to Run the Report Preparation DTS Task

How to Run the Configuration Synchronization DTS Task

Running the DTS Tasks

Importing Data into the Data Warehouse

Managing the Data Warehouse

Commerce Server Operations