Creating and Consolidated Log Files Set

 You can create and consolidate log files set using:

Creating and consolidating log files set using Consolidate Log Wizard

To create, edit, or delete consolidated log files set

  1. Click Consolidate Logs on the Tools menu.

    The Consolidate Log Wizard appears.

  2. Click ConsolidateSet.

    The Consolidation of Set window appears. You can create a new set, edit or delete existing set as follows:

    To create a new set, perform the following steps:

    1. Click New.

      The Create or Edit Set window appears.

    2. Enter a name for the set and then select the log files from the Available Log(s) list.

      Note: If you use space in the set name, the space will be replaced with an underscore to make it compatible with the Command Line Interface automatically.

    3. Click Add.

      The selected log files will be added to the Selected Log(s) list.

    4. Click Save.

      The Consolidate Set dialog box appears.

    5. Click OK.

    6. Choose the existing set you wish to consolidate from the Available Set List list and then click Next. See “RHC.rml10_60\a” to continue with consolidating log files.

      Note: You can click Remove to delete log files from the (existing) sets.

    To edit an existing set, perform the following steps:

    1. Select the set you wish to edit from the Available Set List list, and then click Edit.

      The Create or Edit Set window appears.

    2. To add or remove the logs in the set:

      • Select the desired logs from the Available logs (s) list, and click Add.

      • Select the desired logs from the Selected Log(s) list, and click Remove.

    3. Click Save.

      The Consolidate Set dialog box appears.

    4. Click OK.

    To delete an existing set, perform the following steps:

    1. Select the set you wish to delete from the Available Set List list, and then click Delete.

      The Consolidate Set dialog box appears.

    2. Click Yes.

Creating and consolidating log files set using Command Line Interface

Creating Sets

Use the following format to create sets using the Command Line Interface:

>SpLogViewer.exe -SERVER <servername> -CREATESET <setname> -HOSTNAMES <partition names>

where:

-SERVER

Specifies the server on which the logs have to be consolidated.

-CREATESET

Specifies the set name.

Note: You can use underscore to separate the set name and not space as it is not compatible with the Command Line Interface.

-HOSTNAMES

Specifies partition name. You can specify either a single partition or multiple partitions.

Note: For multiple partitions, separate the partition names using a space.

Examples

The following examples state the different scenarios of executing the command:

Note: If the host name does not exist on the server the name is discarded and not added to the list.

Consolidating Log Files Set

Use the following format to consolidate log files set:

>SpLogViewer.exe -SERVER <servername> -SETCONSOLIDATE <set names>  -ST <YYYY-MM-DD HH:MM:SS.MIL> -ET <YYYY-MM-DD HH:MM:SS.MIL> -PATH <Path> -FNAME <file name>

where:

-SERVER

Specifies the server on which the logs have to be consolidated.

-SETCONSOLIDATE

Specifies the set that has to be consolidated. You can specify either a single set or multiple sets.

Note: For multiple sets, separate the set names using a space.

-ST

Specifies the start date, and start time of the consolidate logs in the format YYYY-MM-DD HH:MM:SS.MIL.

-ET

Specifies the end date, and end time of the consolidate logs in the format YYYY-MM-DD HH:MM:SS.MIL.

-PATH

Specifies the path where the consolidated log set is created. It is an optional parameter. If the parameter is null or the switch is not specified, the default path, C:\ProgramData\Unisys\Operations Sentinel\LOG\ConsolidatedLog is used.

-FNAME

Specifies the name of the consolidated file.

Examples

The following examples state the different scenarios of executing the command:

Notes:

  • Creation of sets through command line will overwrite the existing sets without warning.

  • Set names are case sensitive.

  •  If a log-file with a specific date and time or name is not found during consolidation, the error message is logged in the traces and no popup is displayed.