Admin Guide
Admin Guide
Admin Guide
[ Administer BA Server ]
]
https://help.pentaho.com/Draft_Content/Version_5.4
Updated: Wed, 27 May 2015 15:27:20 GMT
1/43
Copyright Page
This document supports Pentaho Business Analytics Suite 5.4 GA and Pentaho Data Integration 5.4 GA,
documentation revision June 9th, 2015, copyright 2015 Pentaho Corporation. No part may be reprinted
without written permission from Pentaho Corporation. All trademarks are the property of their respective
owners.
Trademarks
The trademarks, logos, and service marks ("Marks") displayed on this website are the property of Pentaho
Corporation or third party owners of such Marks. You are not permitted to use, copy, or imitate the Mark, in
whole or in part, without the prior written consent of Pentaho Corporation or such third party. Trademarks of
Pentaho Corporation include, but are not limited, to "Pentaho", its products, services and the Pentaho logo.
https://help.pentaho.com/Draft_Content/Version_5.4/Copyright_Page
Updated: Wed, 27 May 2015 15:27:20 GMT
2/43
Trademarked names may appear throughout this website. Rather than list the names and entities that own the
trademarks or inserting a trademark symbol with each mention of the trademarked name, Pentaho
Corporation states that it is using the names for editorial purposes only and to the benefit of the trademark
owner, with no intention of infringing upon that trademark.
Contact Us
Global Headquarters Pentaho Corporation Citadel International, Suite 460
5950 Hazeltine National Drive Orlando, FL 32822
Phone: +1 407 812-OPEN (6736)
Fax: +1 407 517-4575
http://www.pentaho.com
Sales Inquiries: [email protected]
https://help.pentaho.com/Draft_Content/Version_5.4/Copyright_Page
Updated: Wed, 27 May 2015 15:27:20 GMT
3/43
Introduction
Prerequisites
Before you do any of these tasks, you must have installed the Pentaho software and configured the BA Server.
Expertise
The topics covered in this section are written for IT administrators who know where data is stored, how to
connect to it, details about the computing environment, and how to use the command line interface for
Windows or Linux.
Tools
We provide a web application, the User Console, which you use to perform many administration tasks.
Login Credentials
All of the tasks in this section, as well as those that use the User Console, Administration page, require that
you log on to the User Console with the administrator user name and password.
https://help.pentaho.com/Documentation/5.4/0P0/000/000
Updated: Wed, 27 May 2015 15:27:20 GMT
4/43
Manage Schedules
As an administrator, you may create, run, delete, stop, edit, or resume schedules through the Schedules page
in the User Console. After a report is scheduled by any user, an admin may edit, pause, or delete that schedule,
as well as change the frequency of the report, change parameters, or adjust email settings. To distribute
reports using email, make sure you have configured the email server. You also have the ability to prevent users
from scheduling specific files or reports.
You might need to control when schedules can run, by setting up periods of time to forbid schedules. This
allows you to perform administrative functions, such as system maintenance or managing server traffic during
peak usage times.
https://help.pentaho.com/Documentation/5.4/0P0/000/010
Updated: Wed, 27 May 2015 15:27:20 GMT
5/43
2. Click the Create Blockout Time button or the green + in the Blockout Times widget on the left side of
the Schedules screen. The Blockout Time dialog box appears.
3. Choose a Recurrence, Start Time, Duration or End Time, and a Start Date for the blocked out time
using the available fields.
4. Click OK. If Run Once is chosen as the Recurrence, a dash shows under the Start Times and End Time
fields in the blockout list, until the blockout time passes.
The Blockout Time is created and no schedules will run on the BA Server during that time. Users are able to
view a list of blocked out times when they are creating schedules.
https://help.pentaho.com/Documentation/5.4/0P0/000/010
Updated: Wed, 27 May 2015 15:27:20 GMT
6/43
1. Click on Administration in the drop-down menu on the upper right, then click on Settings. The Settings
interface appears.
2. To manually delete generated files now, confirm the age of the files to be deleted, then press Delete
Now. The generated files older than the specified age are deleted.
3. To schedule regular deletion of generated files, press Schedule Deletion. The Schedule Deletion
window appears.
4. Enter an age for the generated files in the field specifying number of days.
5. Choose a time interval for the schedule from the Recurrence list.
6. Choose a Start Time and a Recurrence Pattern, as well as Start and End Dates for the scheduled
deletion. Click OK.
The Deletion Schedule is created and the generated files older than the specified age are deleted during the
scheduled times.
These sections explain how to navigate the Schedules page, how to use the page to create, edit, and delete
schedules, and describe reference data on the Quartz Cron engine for scheduling.
Schedules
About Scheduling Reports
Quartz Cron Attributes
https://help.pentaho.com/Documentation/5.4/0P0/000/010
Updated: Wed, 27 May 2015 15:27:20 GMT
7/43
the BA Repository.
Analyzer (.xanalyzer)
Reporting (.xml)
Dashboards (.xdash)
https://help.pentaho.com/Documentation/5.4/0P0/000/020
Updated: Wed, 27 May 2015 15:27:20 GMT
8/43
For Set Owner based on uploaded file, the owner found in the uploaded zip (exportManifest.xml) will be
the owner of the file in the repository. If the file doesn't have an entry in the exportManifest.xml for the
Owner, then it will set the Owner to the user who is uploading the zip. This equivalent to the command line
switch, --retainOwnership=true.
These steps walk you through uploading to the repository with the User Console.
1. From the User Console Home, click Browse Files. The Browse Files page appears.
2. From the Browse pane on the left, click to choose the destination folder for the upload.
3. With the destination folder highlighted, click Upload in the Folder Actions pane on the right. The
Upload dialog box appears.
4. Browse to the file or folder to be uploaded by clicking Browse.
5. Click OK to begin upload using the default settings.
6. Choose preferences for the upload by clicking to expand the Advanced Options menu.
g. A. Choose Replace the Existing File or Do Not Upload from the first menu.
h. B. Choose File Permissions from the second menu. The choices are Do Not Change Permissions or
Retain Permissions on the Uploaded File.
i. C. If you selected Retain Permissions on the Uploaded File, choose File Ownership by selecting Do
Not Change Owner or Set Owner Based on Uploaded File from the third menu.
j. D. Choose None, Short, or Verbose from the Logging menu.
7. Click OK.
The upload runs and the files or folders are uploaded to the repository. If the upload fails, an error log window
opens with specific information.
https://help.pentaho.com/Documentation/5.4/0P0/000/020
Updated: Wed, 27 May 2015 15:27:20 GMT
9/43
Command
Description
Values
Required
-i,--import
Upload Command
n/a
Yes
-a,--url <arg>
URL
Yes
-c,--charset <arg>
UTF-8 (default)
No
-f,--path <arg>
Repository path to
which the uploaded files
are added (for example,
/public)
File path
Yes
-h,--help
n/a
No
-p,--password <arg>
Repository password
Alphanumeric
Yes
-u,--username <arg>
Repository username
Alphanumeric
Yes
-x,--source <arg>
legacy-db or file-system
(default)
Yes
-o , --overwrite <arg>
Overwrites file(s) on
upload. Default value is
True.
Boolean
No
Boolean
No
-r, --retainOwnership
Boolean
No
File path
No
File type
No
-a_ds,--analysisdatasource <arg>
Analysis datasource
type.
Alphanumeric
No
https://help.pentaho.com/Documentation/5.4/0P0/000/020
Updated: Wed, 27 May 2015 15:27:20 GMT
10/43
Command
Description
Values
Required
-a_param,--analysisparameters <arg>
Analysis datasource
parameters.
Alphanumeric No
Alphanumeric
No
-a_xmla,--xmla-enabled
<arg>
Boolean
No
-cat,--catalog <arg>
Catalog description.
Alphanumeric
No
-ds,--datasource-type
<arg>
Datasource type.
Alphanumeric
No
-m_id,--metadatadomain-id <arg>
Alphanumeric
No
-params,--params <arg>
Parameters to pass to
REST service call.
Alphanumeric
No
-res,--resource-type
<arg>
Import/Export resource
type.
Alphanumeric
No
-rest,--rest
Alphanumeric
No
-s,--legacy <arg>
Boolean
No
-v,--service <arg>
URL
No
Download a Folder
1. From the User Console Home, click Browse Files. The Browse Files page appears.
2. From the Browse pane on the left, browse to the location of the folder to be downloaded.
3. With the folder highlighted, click Download in the Folder Actions pane on the right.
4. Choose Save File in the window that appears, and click OK.
The folder is saved as a .zip file with the manifest located in the top level of the file.
https://help.pentaho.com/Documentation/5.4/0P0/000/020
Updated: Wed, 27 May 2015 15:27:20 GMT
11/43
Download a File
1. From the User Console Home, click Browse Files. The Browse Files page appears.
2. Browse to the location of the file by clicking through the folders in the Browse pane on the left. The
Files pane in the center populates with a list of reports.
3. Click to select the file in the Files pane and choose Download in the Folder Actions pane on the right.
4. Choose Save File in the window that appears, and click OK.
The file is saved as a .zip file with the manifest located in the top level of the file.
Command
Description
Values
Required
-e, --export
Download command
n/a
Yes
-a,--url <arg>
URL
Yes
-c,--charset <arg>
UTF-8 (default)
No
-h,--help
n/a
No
-f,--path <arg>
Repository path to
which the uploaded files
are added (for example,
/public)
File path
Yes
https://help.pentaho.com/Documentation/5.4/0P0/000/020
Updated: Wed, 27 May 2015 15:27:20 GMT
12/43
Command
Description
Values
Required
-p,--password <arg>
Repository password
Alphanumeric
Yes
-fp,--filepath <arg>
File path
Yes
-u,--username <arg>
Repository username
Alphanumeric
Yes
File path
No
If true, includes
Manifest.xml inside zip.
If false, download
excludes this file.
Boolean
No
-a_ds,--analysisdatasource <arg>
Analysis datasource
type.
Alphanumeric
No
-a_param,--analysisparameters <arg>
Analysis datasource
parameters.
Alphanumeric
No
-a_xmla,--xmla-enabled
<arg>
Boolean
No
-cat,--catalog <arg>
Catalog description.
Alphanumeric
No
-ds,--datasource-type
<arg>
Datasource type.
Alphanumeric
No
-m_id,--metadatadomain-id <arg>
Alphanumeric
No
-params,--params <arg>
Parameters to pass to
REST service call.
Alphanumeric
No
-res,--resource-type
<arg>
Import/Export resource
type.
Alphanumeric
No
-rest,--rest
Alphanumeric
No
-s,--legacy <arg>
Boolean
No
-v,--service <arg>
URL
No
https://help.pentaho.com/Documentation/5.4/0P0/000/020
Updated: Wed, 27 May 2015 15:27:20 GMT
13/43
Localization information is stored in the BA Repository, along with other report and folder information.
Typically, to localize names and descriptions of reports and folders you do three things.
Download the report or folder from the BA Repository. Localization information is stored in one or more text files
that have the .locale extension.
Add or edit the localization files downloaded with the reports or folders.
Re-upload the report or folder, along with the localization files, into the BA Repository.
If you want to create or add a Pentaho localization file, but are unfamiliar with its structure, we recommend
that you read Localization File Structure first.
https://help.pentaho.com/Documentation/5.4/0P0/000/030
Updated: Wed, 27 May 2015 15:27:20 GMT
14/43
Localization Variables
Localization files have at least two variables that contain localization information.
file.title holds the name of the report or folder that appears in the User Console.
file.description holds the text for the Tool Tip that appears when you hover the mouse pointer over the report or
folder name in the User Console.
https://help.pentaho.com/Documentation/5.4/0P0/000/030
Updated: Wed, 27 May 2015 15:27:20 GMT
15/43
Note: Unicode can be used to display non-Latin languages, such as Chinese or Japanese.
Language
Language Code
Country
Country Code
Chinese
zh
China
CN
Dutch
nl
Netherlands
NL
French
fr
France
FR
German
de
Germany
DE
Italian
it
Italy
IT
Japanese
ja
Japan
JP
Korean
ko
Republic of Korea
KR
Portuguese
pt
Brazil
BR
Portuguese
pt
Portugal
PT
Spanish
es
Argentina
AR
Spanish
es
Spain
ES
https://help.pentaho.com/Documentation/5.4/0P0/000/030
Updated: Wed, 27 May 2015 15:27:20 GMT
16/43
file.title=Inventario
7. Type the description for the report or folder after the file.description variable. The value of the
file.description appears when you hover the mouse pointer over the report or folder name in the
console. Type the description exactly as you want it to appear. Example:
file.title=Inventario
https://help.pentaho.com/Documentation/5.4/0P0/000/030
Updated: Wed, 27 May 2015 15:27:20 GMT
17/43
7. Type the description for the report or folder after the file.description variable. The value of the
file.description appears when you hover the mouse pointer over the report or folder name in the
console. Type the description exactly as you want it to appear. Example:
file.title=Inventario
5. To change the report or folder description Tool Tip that appears when you hover the mouse pointer
over the report or folder name in the console, edit the value of the file.description variable. Example:
https://help.pentaho.com/Documentation/5.4/0P0/000/030
Updated: Wed, 27 May 2015 15:27:20 GMT
18/43
https://help.pentaho.com/Documentation/5.4/0P0/000/040
Updated: Wed, 27 May 2015 15:27:20 GMT
19/43
https://help.pentaho.com/Documentation/5.4/0P0/000/040
Updated: Wed, 27 May 2015 15:27:20 GMT
20/43
https://help.pentaho.com/Documentation/5.4/0P0/000/040
Updated: Wed, 27 May 2015 15:27:20 GMT
21/43
https://help.pentaho.com/Documentation/5.4/0P0/000/050
Updated: Wed, 27 May 2015 15:27:20 GMT
22/43
https://help.pentaho.com/Documentation/5.4/0P0/000/050
Updated: Wed, 27 May 2015 15:27:20 GMT
23/43
<param-value>sampledata@../../data/hsqldb/sampledata</param-value>
</context-param>
<!-- [END HSQLDB DATABASES] -->
5. Remove the hsqldb-starter section from the /pentaho/WEB-INF/web.xml file:
<!-- [BEGIN HSQLDB STARTER] -->
<listener>
<listener-class>org.pentaho.platform.web.http.context.
HsqldbStartupListener</listener-class>
</listener>
<!-- [END HSQLDB STARTER] -->
6. Remove the SystemStatusFilter:
NOTE:
This is not part of the Pentaho samples; it provides error status messages that are only useful for
development and testing purposes, and should be removed from a production system.
<filter>
<filter-name>SystemStatusFilter</filter-name>
<filter-class>com.pentaho.ui.servlet.SystemStatusFilter</filter-class>
<init-param>
<param-name>initFailurePage</param-name>
<param-value>InitFailure</param-value>
<description>This page is displayed if the PentahoSystem fails to
properly initialize.</description>
</init-param>
</filter>
7. Remove the filter mapping for the SystemStatusFilter:
<filter-mapping>
<filter-name>SystemStatusFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
8. Save and close the web.xml file.
9. Delete the /pentaho/server/biserver-ee/data/ directory. This directory does not exist if you
installed Pentaho with the installation wizard. It contains a sample database, control scripts for that
database and the environment settings it needs to run, and SQL scripts to initialize a new repository.
10. Restart the BA Server.
11. Log on to the User Console with the administrator user name and password and go to the Browse
Files page.
l. A. In the Folders pane, expand the Public folder and click to highlight the folder containing the Steel
Wheels sample data. Click Move to Trash in the Folder Actions pane and confirm the deletion.
https://help.pentaho.com/Documentation/5.4/0P0/000/050
Updated: Wed, 27 May 2015 15:27:20 GMT
24/43
m. B. Highlight the folder containing the Pentaho Operations Mart sample data. Click Move to Trash in
the Folder Actions pane and confirm the deletion.
Your BA Server instance is now cleaned of samples and development/testing pieces, and is streamlined for
production.
https://help.pentaho.com/Documentation/5.4/0P0/000/050
Updated: Wed, 27 May 2015 15:27:20 GMT
25/43
https://help.pentaho.com/Documentation/5.4/0P0/000/050
Updated: Wed, 27 May 2015 15:27:20 GMT
26/43
4. Find the <query-limit> tag and change the default number of 100000 within the tags to the
maximum number of rows desired.
<!-- The maximum number of rows that will be rendered in a report on PIR edit
and
view mode. A zero value means no limit. -->
<query-limit>100000</query-limit>
5. Save and close the settings.xml file.
6. Start the BA Server.
If you are migrating content from a previous version, you will need to add the <query-limit> tag to your
settings.xml for PIR.
https://help.pentaho.com/Documentation/5.4/0P0/000/050
Updated: Wed, 27 May 2015 15:27:20 GMT
27/43
<file-upload-defaults>
<relative-path>/system/metadata/csvfiles/</relative-path>
<!-- max-file-limit is the maximum file size, in bytes, to allow to be
uploaded to the server -->
<max-file-limit>10000000</max-file-limit>
<!-- max-folder-limit is the maximum combined size of all files in the
upload folder, in bytes. -->
<max-folder-limit>500000000</max-folder-limit>
</file-upload-defaults>
3. Save your changes to the file.
4. In the User Console, go to Tools > Refresh System Settings to ensure that the change is implemented.
5. Restart the User Console.
https://help.pentaho.com/Documentation/5.4/0P0/000/050
Updated: Wed, 27 May 2015 15:27:20 GMT
28/43
https://help.pentaho.com/Documentation/5.4/0P0/000/050
Updated: Wed, 27 May 2015 15:27:20 GMT
29/43
https://help.pentaho.com/Documentation/5.4/0P0/000/050
Updated: Wed, 27 May 2015 15:27:20 GMT
30/43
Requirement
Description
This will make sure that computing resources are spread evenly
among the nodes.
Each node and the load balancer must be timesynchronized via NTP.
All machines that make up the cluster have to have the same
system time. If they do not, execution times of objects will be
effected.
https://help.pentaho.com/Documentation/5.4/0P0/000/060
Updated: Wed, 27 May 2015 15:27:20 GMT
31/43
Requirement
Description
Locate the ...biserver-ee/tomcat directory and remove all files and folders from the temp
folder.
Locate the ...biserver-ee/tomcat directory and remove all files and folders from the work
folder.
repository directory and remove all files and folders from the final repository folder.
https://help.pentaho.com/Documentation/5.4/0P0/000/060
Updated: Wed, 27 May 2015 15:27:20 GMT
32/43
repository directory and remove all files and folders from the workspaces folder.
You now have a configured repository and are ready to move to the next step for clustering.
https://help.pentaho.com/Documentation/5.4/0P0/000/060
Updated: Wed, 27 May 2015 15:27:20 GMT
33/43
Configure Quartz
There are a few edits that you will need to make in the quartz.properties file to configure Quartz to work with
your cluster.
org.quartz.scheduler.instanceId = AUTO
1. Locate the quartz.properties file in the .../bi-server/pentaho-solutions/
system/quartz directory and open it with any text editor.
2. Find the org.quartz.scheduler.instanceId = INSTANCE_ID line and change
INSTANCE_ID to AUTO.
https://help.pentaho.com/Documentation/5.4/0P0/000/060
Updated: Wed, 27 May 2015 15:27:20 GMT
34/43
3.
org.quartz.scheduler.instanceId = AUTO
4. Find the #_replace_jobstore_properties section and change the default value of
org.quartz.jobStore.isClustered to true as shown.
5.
#_replace_jobstore_properties
org.quartz.jobStore.misfireThreshold = 60000
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.
PostgreSQLDelegate
org.quartz.jobStore.useProperties = false
org.quartz.jobStore.dataSource = myDS
org.quartz.jobStore.tablePrefix = QRTZ5_
org.quartz.jobStore.isClustered = true
6.
Add this line just after the org.quartz.jobStore.isClustered = true line.
org.quartz.jobStore.clusterCheckinInterval = 20000
Quartz is now configured for your cluster. The Quartz Configuration Reference has additional information
about clustering with Quartz.
https://help.pentaho.com/Documentation/5.4/0P0/000/060
Updated: Wed, 27 May 2015 15:27:20 GMT
35/43
If You're BA
Repository is On:
PostgresSQL
pentaho-operations-mart-etl-5.0.0.zip
pentaho-operations-mart-operations-5.0.0.zip
MySQL
pentaho-operations-mart-clean-mysql5-5.0.0.zip *
https://help.pentaho.com/Documentation/5.4/0P0/000/070
Updated: Wed, 27 May 2015 15:27:20 GMT
36/43
If You're BA
Repository is On:
pentaho-operations-mart-clean-oracle10g-5.0.0.zip *
Oracle
pentaho-operations-mart-etl-oracle10g-5.0.0.zip
pentaho-operations-mart-operationsoracle10g-5.0.0.zip
pentaho-operations-mart-clean-mssql-5.0.0.zip*
MS SQL Server
pentaho-operations-mart-etl-mssql-5.0.0.zip
pentaho-operations-mart-operations-mssql-5.0.0.zip
NOTE:
* Keep the pentaho-operations-mart-clean-<database>-5.0.0.zip file only if you want to Pentaho
to automatically delete entries from the operations mart on a regular schedule. For more information, see
Clean Up Operations Mart for details.
1.
Restart the BA Server.
2.
If you've deployed Pentaho on JBoss, after the server is started, update the JNDI name in the
pentaho_operations_mart connection PDI_Operations_Mart to jboss/datasource/PDI_Operations_Mart.
3. The operatons mart tables and schemas are on the BA Repository. If youve deployed the BA
Repository on MySQL, MS SQL Server, or Oracle, you'll need to update the pentaho_operations_mart
data database connection information.
b. A. Click the Manage Data Sources button in PUC and select pentaho_operations_mart.
c. B. Change the database connection information so that it reflects the information needed to connect
to your BA Repository.
The Operations Mart is ready to be used.
We provide pre-built Interactive Reports and a data mart called the Pentaho Operations Mart. The Operations
Mart contains all the data from system log files. This table shows the reports that we have pre-built for you.
Choose the report that fits your needs and follow the instructions in View and Edit Operations Mart Reports.
https://help.pentaho.com/Documentation/5.4/0P0/000/070
Updated: Wed, 27 May 2015 15:27:20 GMT
37/43
Information Shown
Report Name
Content Duration
Content Failures
Content Usage
Length of time for logins and the number of logins per user for specified length
of time
https://help.pentaho.com/Documentation/5.4/0P0/000/070
Updated: Wed, 27 May 2015 15:27:20 GMT
Data Source
pentaho_operations_mart: BA Operations Mart Component
38/43
Information Shown
Data Source
pentaho_operations_mart: PDI_Operations_Mart
The operational data in Operations Mart tables are set to automatically remove entries older than 365 days. If
you want to change this schedule so that the operational data is deleted using a different time frame, you will
need to add a variable, named ba.cleanup.max.age, in the kettle.properties file located
in {user.home}/.kettle directory.
1. Stop the BA Server.
2. Open the kettle.properties file in the administrative user's {user.home}/.kettle directory.
3. Add the ba.cleanup.max.age variable to indicate the age above which entries are deleted. For
example, if you want to delete entries that are older than 30 days, add this:
ba.cleanup.max.age=30
4. Save and close the kettle.properties file.
5. Restart your BA server for the setting to take effect.
https://help.pentaho.com/Documentation/5.4/0P0/000/070
Updated: Wed, 27 May 2015 15:27:20 GMT
39/43
Log Rotation
This procedure assumes that you do not have or do not want to use an operating system-level log rotation
service. If you are using such a service on your Pentaho server, connect to the BA Server and Data Integration
Server and use that instead of implementing this solution.
The Business Analysis and Data Integration servers use the Apache log4j Java logging framework to store
server feedback. The default settings in the log4j.xml configuration file may be too verbose and grow too large
for some production environments. Follow these instructions to modify the settings so that Pentaho server log
files are rotated and compressed.
1. Stop all relevant Pentaho servers.
2. Download a .zip archive of the Apache Extras Companion for log4j package: Apache Logging Services.
3. Unpack the apache-log4j-extras JAR file from the zip archive, and copy it to the following locations:
Business Analytics Server: /tomcat/webapps/pentaho/WEB-INF/lib/
Data Integration Server: /tomcat/webapps/pentaho-di/WEB-INF/lib/
6. Edit the log4j.xml settings file for each server that you are configuring. The files are in the following
locations:
BA Server: /tomcat/webapps/pentaho/WEB-INF/classes/
DI Server: /tomcat/webapps/pentaho-di/WEB-INF/classes/
https://help.pentaho.com/Documentation/5.4/0P0/000/080
Updated: Wed, 27 May 2015 15:27:20 GMT
40/43
10. Modify the PENTAHOFILE appenders to match the log rotation conditions that you prefer. You may
need to consult the log4j documentation to learn more about configuration options. Two examples that
many Pentaho customers find useful are listed:
Daily (date-based) log rotation with compression:
<appender name="PENTAHOFILE" class="org.apache.log4j.rolling.
RollingFileAppender">
<!-- The active file to log to; this example is for BA/DI Server.-->
<param name="File" value="../logs/pentaho.log" />
<param name="Append" value="false" />
<rollingPolicy class="org.apache.log4j.rolling.TimeBasedRollingPolicy">
<!-- See javadoc for TimeBasedRollingPolicy -->
<param name="FileNamePattern" value="../logs/pentaho.%d.log.gz" />
</rollingPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>
Size-based log rotation with compression:
<appender name="PENTAHOFILE" class="org.apache.log4j.rolling.
RollingFileAppender">
<!-- The active file to log to; this example is for BA/DI Server.-->
<param name="File" value="../logs/pentaho.log" />
<param name="Append" value="false" />
<rollingPolicy class="org.apache.log4j.rolling.
FixedWindowRollingPolicy">
<param name="FileNamePattern" value="../logs/pentaho.%i.log.gz" />
<param name="maxIndex" value="10" />
<param name="minIndex" value="1" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.
SizeBasedTriggeringPolicy">
<!-- size in bytes -->
<param name="MaxFileSize" value="10000000" />
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n" />
</layout>
</appender>
11. Save and close the file, then start all affected servers to test the configuration.
https://help.pentaho.com/Documentation/5.4/0P0/000/080
Updated: Wed, 27 May 2015 15:27:20 GMT
41/43
You have an independent log rotation system in place for all modified Pentaho servers.
https://help.pentaho.com/Documentation/5.4/0P0/000/080
Updated: Wed, 27 May 2015 15:27:20 GMT
42/43
https://help.pentaho.com/Documentation/5.4/0P0/000/090
Updated: Wed, 27 May 2015 15:27:20 GMT
43/43