To search log files in a path

Purpose

Use this procedure to perform a search on all log files in a specified path using a plain text search or a regular expression.

Note: You can test regular expressions in the Find In Path window by clicking Test beside the expression. Enter sample text in the Example box, and an expression in the Expression box, then click on the green Execute button to test the results of the expression.

Steps
 

Open the LogViewer GUI.


Choose Edit→Find In Path from the LogViewer main menu, or click Search all files. The Find In Path window opens.


Perform one of the following:

  1. To perform a text search, specify the text string to search for in the Text to find parameter and deselect the Regular expression option.

  2. To perform a search using a regular expression, enter a regular expression in the Text to find parameter and select the Regular expression option.


In the Directory parameter, enter the directory path you need to search, or click Browse and select a directory. To search subdirectories, select the Recursive option.


To restrict the search to logs with certain filenames, enter a regular expression in the File Mask parameter. To search all logs in the specified path, leave this parameter blank.


Click Find. The log entries matching the search parameters are displayed in a new tab.

Note: A new search using the Find In Path function cannot be performed until the search tab is closed.

End of steps