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:
-
Portal User Identity Report—Lists
end users and times end users last accessed the Desktop. Groups end users by server,
domain, and relative DN.
-
Portal User Login Rate—Reports
login activity rates.
-
Portal Channel View Report—Lists
which end users viewed a channel and the number of times end users viewed the channel.
Groups channels by the containers channels belong to.
-
User Customization of Portal Containers—Reports
end-user changes to containers, including Desktop content, layout or theme alterations.
-
Portal Request Rate—Reports
the rate of request of each top container per hour over a period of time.
-
User Customization of Portal Channels—Lists
end users and actions end users performed on channels.
-
Portlet Actions Report—Provides
the rate of portlet action requests in the portal.
-
Portlet Render Report—Reports
the number of times a portlet is displayed in a particular portlet mode or window
state.
To Track User Behavior
Use the User Behavior Tracking tab to configure and generate reports about the
end-user activity.
-
Log in to the Portal Server management console.
The Common
Tasks page is displayed.
-
Click the Portals Tab.
The Portals page is displayed.
-
Click the name of the portal whose end users you want to track.
The Desktop Tasks and Attributes page is displayed.
-
Click the User Behavior Tracking tab.
The Reports page is
displayed.
-
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:
-
Make appropriate tuning decisions
-
Establish reliable benchmarks
-
Deploy additional portal instances to support increased end-user activity
on a portal
-
Configure alarms to flag significant events (such as server threadpools
reaching 95% utilization)
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.
To Monitor Desktop Performance
-
Log in to the Portal Server management console.
The Common
Tasks page is displayed.
-
Click the Portals Tab.
The Portals page is displayed.
-
Click the name of the portal that you want to monitor.
The
Desktop Tasks and Attributes page is displayed.
-
Click the Monitoring tab.
The Desktop Request/Response Statistics
page is displayed.
-
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
To Monitor Secure Remote Access Performance
-
Log in to the Portal Server management console.
The Common
Tasks page is displayed.
-
Click the Secure Remote Access tab.
The Profiles page is
displayed.
-
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:
-
Associate a configuration file with its corresponding application
-
Make specific configuration changes that affect only that application
-
Achieve easier cleanup of applications
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:
-
rdmserver.0.0.log
-
rdm.0.0.log
-
rdmgr.0.0.log
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.
To Manage Portal Server Logging
-
Log in to the Portal Server management console.
The Common
Tasks page is displayed.
-
Click the Portals tab.
The Portals page is displayed.
-
Click the name of the portal that you want to examine.
The
Desktop Tasks and Attributes page is displayed.
-
Click the Logging tab.
The Log Viewer page is displayed.
-
From the Instance Name scrollbar, select a portal instance.
The logging options are displayed.
-
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.
To Manage Search Server Logging
-
Log in to the Portal Server management console.
The Common
Task page is displayed.
-
Click the Search Servers tab.
The Search Servers page is displayed.
-
Click the name of the search server that you want to examine.
The Search Server Settings page is displayed.
-
Click the Reports tab.
The Log Files page is displayed.
-
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.