Monitoring Sessions Monitoring Executions Results

21-10 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator Only the sessions andor Load Plan runs matching the specified filters will be removed: ■ When you choose to purge session logs only, then the sessions launched as part of the Load Plan runs are not purged even if they match the filter criteria. ■ When you purge Load Plan runs, the Load Plan run which matched the filter criteria and the sessions launched directly as part of Load Plan run and its childgrand sessions will be deleted. ■ When aLoad Plan run matches the filter, all its attached sessions are also purged irrespective of whether they match the filter criteria or not.

3. Click OK.

Oracle Data Integrator removes the sessions andor Load Plan runs from the log.

21.3.3.3 Organizing the Log with Session Folders

You can use session folders to organize the log. Session folders automatically group sessions and Load Plan Runs that were launched with certain keywords. Session folders are created under the Keywords node on the Session List or Load Plan Executions accordions. Each session folder has one or more keywords associated with it. Any session launched with all the keywords of a session folder is automatically categorized beneath it. To create a new session folder:

1. In Operator Navigator, go to the Session List or Load Plan Executions accordion.

2. Right-click the Keywords node and select New Session Folder.

3. Specify a Folder Name.

4. Click Add to add a keyword to the list. Repeat this step for every keyword you

wish to add. Agent Sessions andor Load Plan runs executed by this agent will be deleted. Status Session andor Load Plan runs in this status will be deleted. User Sessions andor Load Plan runs executed by this user will be deleted. Name Sessions andor Load Plan runs matching this session name will be deleted. Note that you can specify session name masks using as a wildcard. Purge scenario reports If you select Purge scenario reports, the scenario reports appearing under the execution node of each scenario will also be purged. Note: It is also possible to delete sessions or Load Plan runs by selecting one or more sessions or Load Plan runs in Operator Navigator and pressing the Delete key. Deleting a Load Plan run in this way, deletes the corresponding sessions. Table 21–3 Cont. Purge Log Parameters Parameter Description 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.