Monitoring Load Plan Runs Handling Failed Sessions

Monitoring Integration Processes 21-11 Table 21–4 lists examples of how session folder keywords are matched. To launch a session with keywords, you can for example start a scenario from a command line with the -KEYWORDS parameter. Refer to Chapter 20, Running Integration Processes for more information.

21.3.3.4 Exporting and Importing Log Data

Export and import log data for archiving purposes. Exporting Log Data Exporting log data allows you to export log files for archiving purposes. To export the log:

1. From the Operator Navigator toolbar menu select Connect Navigator Export

Log 2. In the Export the log dialog, set the log export parameters as described in Table 21–5 . Note: Only sessions or load plans with all the keywords of a given session folder will be shown below that session folder. Keyword matching is case sensitive. Table 21–4 Matching of Session Folder Keywords Session folder keywords Session keywords Matches? DWH, Test, Batch Batch No - all keywords must be matched. Batch DWH, Batch Yes - extra keywords on the session are ignored. DWH, Test Test, dwh No - matching is case-sensitive. Note: Session folder keyword matching is dynamic. If the keywords for a session folder are changed or if a new folder is created, existing sessions are immediately re-categorized. Table 21–5 Log Export Parameters Properties Description Export to directory Directory in which the export file will be created. Export to zip file If this option is selected, a unique compressed file containing all log export files will be created. Otherwise, a set of log export files is created. Zip File Name Name given to the compressed export file. Filters This set of options allow to filter the log files to export according to the specified parameters. From To Date of execution: specify either a date From or a date To, or both. Agent Agent used to execute the session. Leave the default All Agents value, if you do not want to filter based on a given agent. 21-12 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator

3. Click OK.

The log data is exported into the specified location. Note that you can also automate the log data export using the OdiExportLog tool. Importing Log Data Importing log data allows you to import into your work repository log files that have been exported for archiving purposes. To import the log:

1. From the Operator Navigator toolbar menu select Connect Navigator Import

Log 2. In the Import of the log dialog:

1. Select the Import Mode. Note that sessions can only be imported in Synonym

Mode INSERT mode. Refer to Section 19.1.3, Import Modes for more information.

2. Select whether you want to import the files From a Folder or From a ZIP file.

3. Enter the file import folder or zip file.

4. Click OK.

The specified folder or ZIP file is imported into the work repository.

21.3.4 Managing Scenarios and Load Plans

You can also manage your executions in Operator Navigator by using scenarios or Load Plans. Before running a scenario, you need to generate it in Designer Navigator or import from a file. See Chapter 13, Working with Scenarios . Load Plans are also created using Designer Navigator, but can also be modified using Operator Navigator. See Chapter 14, Working with Load Plans for more information. Context Sessions execution Context. Leave the default All Contexts value, if you do not want to filter based on a context. Status The possible states are Done, Error, Queued, Running, Waiting, Warning and All States. Leave the default All States value, if you do not want to filter based on a given session state. User User who launched the session. Leave the default All Users value, if you do not want to filter based on a given user. Session Name Use as a wildcard. For example DWH matches any session whose name begins with DWH. Advanced options This set of options allow to parameterize the output file format. Character Set Encoding specified in the export file. Parameter encoding in the XML file header. ?xml version=1.0 encoding=ISO-8859-1? Java Character Set Java character set used to generate the file. Table 21–5 Cont. Log Export Parameters Properties Description