Searching for text in a log file

Last Updated : Dec 17, 2020 |

Use this feature to search for matching text in the product log file.

About this task

The search is based on Lucene Search. The search results are highlighted as per the Lucene highlighter. The highlight package contains classes to provide keyword in context features, typically used for highlighting search terms on the results page.

Procedure

  1. On the System Manager web console, click Services > Events.
  2. In the navigation pane, click Logs > Log Harvester.
  3. On the Log Harvester page, select a log harvesting profile, and click Requests.
  4. On the Harvest Archives page, in the Harvest Request Details section, click a request in the table.
  5. Click Show Files.
  6. On the Search Archives page, in the Enter search text field, enter the text for which you want to search.
  7. In the Tree view, navigate to the log file by expanding the folders and select the log file.
  8. Click Search.

    The system displays the search results in the Search Result Panel. The Search Results Panel field displays the line numbers as hyperlinks on which the searched text is found.

  9. Click the hyperlink in the Search Results Panel field.

    The system displays the page that contains the highlighted searched text in the Log Browser Panel field.