The extract command searches the live log files and archived log files for events that match the selection criteria specified as part of the command. You can select events based on the following criteria:
The extracted information can be directed to either a file or your default output device. You can choose to display only the event name and context, and include timestamps in the output.
To extract historical log data for review, use:
$ CONSOLE EXTRACT
The following table describes the switches to the extract command.
|
Switch |
Description |
|---|---|
|
/BEFORE=time1 |
Extracts all the log and archive data for the named system which was logged before the specified date or time. |
|
/EVENT/NOEVENT (default) |
Displays only the event names and their associated context in the output. |
|
/OUTPUT=file |
Specifies the output file into which the extracted log data will be written. |
|
/PRIORITY[=(MINIMUM =minpri, MAXIMUM=maxpri)] |
Valid only when used with the event qualifier. This displays only those events within the specified range of priorities. The value for minpri and maxpri can be one of the following priorities: CRITICAL (default for maxpri) MAJOR MINOR WARNING CLEAR INDETERMINATE (default for The minimum and maximum priority can have the same value. If you use a minimum priority value that is higher than the maximum priority value, then the result is undefined.) |
|
/SINCE=time1 |
Extracts all the log and archive data for the named system which was logged since the specified date or time. |
|
/TIME /NOTIME (default) |
Displays the timestamps in the output |
|
Copyright © 2010 CA.
All rights reserved.
|
|