The Pentaho Log Manager plugin for Pentaho BI Server allows you to view, download, and delete log files accessible from the BI Server file system. The plugin is available to anyone with access to the Tools menu in BI Server which by default is only administrators.
A big thank you to my employer Inquidia Consulting for allowing me to open source this plugin.
- Pentaho BI Server 6.x or above
- Pentaho Ctools (CDE, CDA, CDF, CGG)
Using Pentaho Marketplace
- In the Pentaho Marketplace find the Log Manager plugin and click Install
- Restart BI Server
Manual Install
- Place the logManager folder in the ${BI_SERVER_HOME}/pentaho-solutions/system/ directory
- Restart BI Server
The Pentaho Log Manager comes configured to work with most standard installations of BI Server; however, if you want to limit the logs that are managed through this plugin or use non-standard log locations additional configuration is required.
- Edit the ${BI_SERVER_HOME}/pentaho-solutions/system/plv.xml file
- Additional locations can be added by adding a element in . The element must include the following attributes:
- path - the filesystem path to the log directory
- name - a value that you want to display in log manager for the file path of the log. This essentially allows for relative pathing allowing you to show /tomcat/logs instead of /usr/lib/pentaho/biserver-ee/tomcat/logs in the plugin.
- An example:
- The log files that appear in BI Server can be limited using regular expressions. This is done using the element under . The element must contain the following attributes:
- regex - The regular expression to match the log file name.
- type - A log type the regex matches. This does not appear anywhere in the plugin but is required for potential future enhancements.
- An example:
The Log Manager plugin is a Sparkl application. To contribute patches or enhancements Install Sparkl and the Log Manager plugin. You will be able to edit and make improvements to the Log Manager plugin using the Sparkl plugin.
- The Windows zip utility sees the downloaded zip of the log file as being empty. You must use an alternative utility such as 7-zip.
- The View Log button on Safari does not work. It fails with a broken pipe error in the logs.