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

  1. Start the Maintenance Tool utility.

    Show steps.

    Some content is unavailable due to permissions.

  2. In the log viewer window, click Edit.
  3. Select Find or Filter from the menu to choose the search type, or click the log search.png and log filter.pngicons:
    • 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.
  4. 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
    FINEST

    Details

    contains
    starts with
    ends with
    equals
    regex

    Source

    contains
    starts with
    ends with
    equals
    regex

    Exception

    contains

    starts with
    ends with
    equals
    regex

    Note

    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.

  5. (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.

  6. Click Search to begin searching for all log entries that meet the search criteria.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*