Searching in the log viewer
In the log viewer, you can perform searches, filter search results, and specify match criteria to refine a search.
To perform a search
Start the Maintenance Tool utility.
- In the log viewer window, click Edit.
- Select Find or Filter from the menu to choose the search type, or click the and icons:
- If you select Find, the log viewer displays all available log entries, but highlights (in blue) the ones that meet the selected filter and match type criteria.
- If you select Filter, the log viewer displays only those entries that meet the selected filter and match type criteria.
To set or change the filter option, right-click the current filter in the Find dialog box, and select the new one from the list.
The following table lists the available filter options and their associated match types.Filter option
Available match types
AND
Use this option to create a more complex search condition by combining two or more filter criteria.
OR
Use this option to create a more complex search condition by combining two or more filter criteria.
NOT
Use this option to create a more complex search condition that inverts a single, contained criterion.
Time
=
>
>=
<
<=
The Match Type panel also includes a calendar to select a date and time field to specify the exact hour, minute, and second.Severity
SEVERE
WARNING
INFO
CONFIG
FINE
FINER
FINESTDetails
contains
starts with
ends with
equals
regexSource
contains
starts with
ends with
equals
regexException
contains
starts with
ends with
equals
regexNote
Use the regex match type to locate log entries that contain a regular expression. For example, if you enter ^LOG* in the Find field, the log viewer searches for all log entries that start with the word LOG.
(Optional) In the Find dialog box, further refine the search by selecting the following options:
Option
Description
Match Type
Filters the search according to the criteria that you enter. The options are:
contains
startsWith
endsWith
equals
regex (a search based on a regular expression)
Select one of these options, and enter a string in the Find field.Case sensitive
Matches the search case to the case of the string entered in the Find field
Wrap Search
Continues searching from the first log viewer tab when you click Find Next after searching through the last tab. This option is available only when you choose Find in the Edit menu.
Direction
Performs a forward or backward search, relative to the currently selected log entry
Other log sessions might or might not be included in the search, depending on whether Wrap Search is selected.- Click Search to begin searching for all log entries that meet the search criteria.
Comments
Log in or register to comment.