Sun Java System Portal Server 7 Technical Overview

Chapter 7 Understanding Reports

This topic describes how Portal Server provides information about end-user behavior, servers, and log activities.

This topic provides the following sections:

User Behavior Tracking

Administrators can diagnose, troubleshoot, and analyze issues related to end-user activities and end-user interaction with various portal system components. User behavior tracking (UBT) follows end-user clicks on the standard Desktop and logs the information in external data stores. The Portal Server user behavior tracking API is an implementation of the JSR 47: Logging API Specification.

Portal Server's user behavior tracking conforms to the ELF (extended log format) standards defined by the World Wide Web Consortium (W3C). To analyze end-user data, administrators can use the management console or other tools.

Portal Server provides these reports about user behavior:

ProcedureTo Track User Behavior

Use the User Behavior Tracking tab to configure and generate reports about the end-user activity.

  1. Log in to the Portal Server management console.

    The Common Tasks page is displayed.

  2. Click the Portals Tab.

    The Portals page is displayed.

  3. Click the name of the portal whose end users you want to track.

    The Desktop Tasks and Attributes page is displayed.

  4. Click the User Behavior Tracking tab.

    The Reports page is displayed.

  5. Select the activity that you want.

    • To create a report, click the Reports tab.

    • To configure a report, click the Setting tab.

    For more information, click the Help button to view online help

Monitoring

Monitoring provides runtime information about Portal Server's Desktop and Secure Remote Access components. The framework for maintaining system statistics is based on JavaTM Management Extensions (JMXTM) technology.

Information collected from monitoring these components can help portal administrators do the following:

The Portal Server management console provides pages for configuring and generating reports about the how the Desktop and Secure Remote Access components perform. Administrators can use the command-line interface to perform other monitoring tasks. For information, see the Sun Java System Portal System 7 Command-Line Reference.

ProcedureTo Monitor Desktop Performance

  1. Log in to the Portal Server management console.

    The Common Tasks page is displayed.

  2. Click the Portals Tab.

    The Portals page is displayed.

  3. Click the name of the portal that you want to monitor.

    The Desktop Tasks and Attributes page is displayed.

  4. Click the Monitoring tab.

    The Desktop Request/Response Statistics page is displayed.

  5. Select the activity hat you want.

    • To update the Desktop statistics, click the Refresh button.

    • To create a channels report, click the Channel Action Statistics tab.

    • To enable or disable monitoring, click the Settings tab.

    For more information, click the Help button to view online help

ProcedureTo Monitor Secure Remote Access Performance

  1. Log in to the Portal Server management console.

    The Common Tasks page is displayed.

  2. Click the Secure Remote Access tab.

    The Profiles page is displayed.

  3. Click the Monitoring tab.

    The Monitoring page is displayed.

    For more information, click the Help button to view online help

Logging

The Portal Server logging API is an implementation of the JSR 47: Logging API Specification. Each Portal Server application has its own configuration file. Portal administrators can do the following:

By default, the log file directory is /var/opt/sun/portal/portals/portal1/logs/portal-server-instance. The com.sun.portal.log.config.file properties file provides the default configuration of the logging system. You can specify the location and names of the portal log files specified in this file.

Administrators can define the following logging attributes:

If a portal administrator uses a tool to view web container logs, the Portal Server logging framework enables the administrator to use the tool to view portal logs as well.

Application Log Configuration Files

Each Portal Server application has at least one log configuration file associated with it. This topic lists file names for the following applications:

Portal Instance

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.0.0.log.

Portlet Applications

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.0.0.log. The content is logged through PortletContext.log().

Search Application

The log configuration file name is:

The log file location is:

By default, three files are created. The file names are:

Administrative CLIs

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.admin.cli.0.0.log.

Portal Administration Server

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.0.0.log.

Management Console

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.admin.console.0.0.log.

Gateway

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.gateway.0.0.log.

Netlet Proxy

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.nlproxy.0.0.log.

Rewriter Proxy

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.rwproxy.0.0.log.

ProcedureTo Manage Portal Server Logging

  1. Log in to the Portal Server management console.

    The Common Tasks page is displayed.

  2. Click the Portals tab.

    The Portals page is displayed.

  3. Click the name of the portal that you want to examine.

    The Desktop Tasks and Attributes page is displayed.

  4. Click the Logging tab.

    The Log Viewer page is displayed.

  5. From the Instance Name scrollbar, select a portal instance.

    The logging options are displayed.

  6. Set the search criteria, and click Search.

    The information is displayed in the Search Results section.

    For more information, click the Help button to view online help.

ProcedureTo Manage Search Server Logging

  1. Log in to the Portal Server management console.

    The Common Task page is displayed.

  2. Click the Search Servers tab.

    The Search Servers page is displayed.

  3. Click the name of the search server that you want to examine.

    The Search Server Settings page is displayed.

  4. Click the Reports tab.

    The Log Files page is displayed.

  5. Select the reports that you want.

    • To view log file contents, click the Logs tab.

    • To view robot report files, click the Advanced Robot Reports tab.

    • To view information about end-user searches, click the Manage Popular Searches tab.

    • To view information about URLs that were excluded during a robot run, click the Manage Excluded URLs button.

    For more information, click the Help button to view online help.