Configuring Log Analysis Data Sources
To configure the log analysis data source
1. Log on as an administrator on My webMethods Server.
2. In My webMethods Server: Tools > MWS Monitoring and Diagnostics > Log Tracing and Analysis.
3. Locate the Log Analysis Datasource tool and drag it onto the workspace.
4. On the Add Logs option list, proceed as follows:
Note: To use and analyze the default errors.log file of your My webMethods Server, choose the corresponding entry on the Select Log File list and do not upload additional log files.
Upload Local File To use and analyze an external log file that is available on the local file system, choose this option and then upload a file.
Download from External URL To use and analyze an external log file that is available on a URL address, choose this option and then provide the URL of the file.
If you upload a proper log file, the tool adds it to the Select Log File list so you can select and analyze it. The tool analyzes the errors.log file of My webMethods Server which is an XML file created in accordance with the log4j mechanism.
If several log files are contained in a zip archive, you can upload the archive. The tool examines the log files in the zip file and displays them. The tool does not examine plain text log files.
You can use this feature with archives created by the envcapture command line tool. For more information, see
envcapture.
5. On the Select Log File list, choose the log file which you want to analyze.
You can switch between several log data sources by selecting one of them and clicking Apply. All log analysis portlets which you opened on the workspace refresh their content and display the information from the selected data source. You can use this technique to compare two or more snapshots of My webMethods Server logs.
6. Click Apply.