Show TOC

Procedure documentationFiltering Logs and Traces Locate this document in the navigation structure

 

Use this procedure to find an exact log (trace) or several logs (traces) that meet specific criteria. Three types of log and trace filtering are available:

  • Filtering by data source

  • Filtering by log file and log type

  • Filtering by content

Procedure

Filtering Log Records by Data Source

By default, the Log Viewer shows logs and records from the whole cluster. Using this procedure, you can view log records from a particular Java instance or server process.

  1. Open the view, whose logs you want to filter.

  2. Choose Show Advanced Filter.

  3. To view all logs and traces from a server process, in the Filter by Data Source , select Get all logs from.

  4. In the adjacent field, enter a string for searching.

  5. For advanced search, choose .

    From the dialog box, choose Go and then, from the list, choose the relevant log directory.

  6. To view all logs and traces, excluding such in a particular server process, from the same dropdown box, select Exclude all logs from.

  7. In the adjacent field, enter a string for searching.

    For advanced search, choose .

    Note Note

    You can make a filter inactive and keep it for future use. For this purpose, deselect the Active indicator.

    If you want to delete a filter, choose Delete this row (Delete this row).

    End of the note.
  8. Choose Apply Data Sources.

Filtering Log Records by Log File and Log Type

Using this procedure, you can search for logs from all existing log directories on the relevant AS Java. You can also search for a particular log or trace file.

  1. Choose Show Advanced Filter.

  2. To search for log and trace records by name, in the Log Browser frame, select Log File named.

  3. From the adjacent dropdown box, select as or different from.

  4. In the adjacent field, enter a log or trace file name for searching.

  5. For advanced search, choose .

    From the dialog box, choose Go and then, from the list, choose the relevant log/trace name.

  6. To search for log and trace records by type, from the same dropdown box, select Log Type.

  7. From the adjacent dropdown box, select equals or does not equal.

  8. From the adjacent dropdown box, select ListLog or TextFormat.

  9. To merge list formatted logs and traces, check the Merge Logs If Possible indicator.

    Note Note

    You can make a filter inactive and keep it for future use. For this purpose, deselect the Active indicator.

    If you want to delete a filter, choose Delete this row (Delete this row).

    End of the note.
  10. Choose Apply Logs.

Filtering Log Records by Content

Using this procedure, you can search for logs by different criteria, such as severity, location, category, dateand time and so on.

  1. Choose Show Advanced Filter.

  2. In the Filter by Content frame, select a content type for filtering.

  3. In the adjacent dropdown field, choose the relevant restrictive conditions.

  4. In the adjacent field, select or enter the content string, by which you want to filter logs and traces.

  5. Choose Apply Filters.