The ReportGenerator component runs the Report Generator, which processes Log Server files into HTML-based reports that you can view in your Web browser and XML reports that you can view in Workbench.

Every Application Controller component contains the following attributes:

The ReportGenerator component contains the following sub-elements:

Sub-element

Description

working-dir

Working directory for the process that is launched. If it is specified, it must be an absolute path. If any of the other properties of this component contain relative paths, they are interpreted as relative to the working directory. If working-dir is not specified, it defaults to $ENDECA_CONF/work/<appName>/<componentName> on UNIX, or %ENDECA_CONF%\work\<appName>/<componentName> on Windows.

input-dir-or-file

Required. Path to the file or directory containing the logs to report on. If it is a directory, then all log files in that directory are read. If it is a file, then just that file is read.

output-file

Required. Name the generated report file and path to where it is stored. For example:

C:\Endeca\reports\myreport.html on Windows

/endeca/reports/myreport.html on UNIX

stylesheet-file

Required. Filename and path of the XSL stylesheet used to format the generated report. For example:

%ENDECA_CONF%\etc\ report_stylesheet.xsl on Windows

$ENDECA_CONF/etc/report_stylesheet.xsl on UNIX

settings-file

Path to the report_settings.xml file. For example:

%ENDECA_CONF%\etc\report_settings.xml on Windows

$ENDECA_CONF/etc/report_settings.xml on UNIX

timerange

Sets the time span of interest (or report window). Allowed keywords:

These keywords assume that days end at midnight, and weeks end on the midnight between Saturday and Sunday.

start-date <date>

stop-date <date>

These set the report window to the given date and time. The date format should be either yyyy_mm_dd or yyyy_mm_dd.hh_mm_ss. For example, 2009_10_23.19_30_57 expresses Oct 23, 2009 at 7:30:57 in the evening.

time-series

Turns on the generation of time-series data and specifies the frequency, Hourly or Daily.

charts

Turns on the generation of report charts. Disabled by default.

log-file

The path to the ReportGenerator log file. If the log-file is not specified, the default is component working directory plus component name plus “.log”.

java_binary

Should indicate a JDK 1.6.x or later. Defaults to the JDK that Endeca installs.

java_options

Command-line options for the java_binary setting. This command is primarily used to adjust the ReportGenerator memory, which defaults to 1GB. To set the memory, use the following:

java_options = -Xmx[MemoryInMb]m -Xms[MemoryInMb]m

args

Command-line flags to pass to the ReportGenerator, expressed as a set of arg sub-elements.



Copyright © Legal Notices